Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » RectTracker filled with black
Re: RectTracker filled with black [message #14589 is a reply to message #14572] Tue, 04 March 2008 10:24 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1427
Registered: September 2007
Ultimate Contributor
luzr wrote on Mon, 03 March 2008 21:48

I was thinking about this issue a bit.

Would not it be better instead of ALIGN_NULL to allow negative "MinSize" ?

Mirek

Well I chose ALIGN_NULL because I was trying to keep it in line with the rest of the API and make it as unintrusive as possible.

But anything will do. I just want it to work right. Right now I'm using a slightly "hacked" version of RectTracker, which might become a private ShapeTracker before the next release, because I don't want to have to change things every time I download a new U++.

This class has to cover the following points:
1. Allow full mouse movement
2. Be uniform in it's interpretation of coordinates. Current rect tracker doesn't seem to be.
3. Be precise. Again, not the case with current. An experienced user will get annoyed very quickly when they have to drag the mouse one extra pixel depending on the quadrant to align some stuff.

And in the future, I'll need it to track arrows, so that you can visually design relationships between objects. Nothing fancy, just a line with a small arrow head.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How can I use RectTracker in a rubber-band like operation?
Next Topic: [Bug] Windows UI Refresh Missed.
Goto Forum:
  


Current Time: Mon May 12 01:20:20 CEST 2025

Total time taken to generate the page: 0.03133 seconds