Idea on how to implement a concept...
Idea on how to implement a concept...
- Subject: Idea on how to implement a concept...
- From: Jean-Nicolas Jolivet <email@hidden>
- Date: Sat, 08 Nov 2008 12:22:59 -0500
What I'm trying to do isn't very complex but somehow I'm not sure how I
should implement it... To sum it up, my app outputs images... the user
can drag a slider to control the size (i.e. from 0x0 to 800x600) of
these images... right now I am only showing the width and height in 2
text fields that gets updated live when a user drags the slider...
What I would like is to give the user a visual representation of the
size while he drags the slider... (so, like a rectangle that would
scale, live, as the slider is dragged...) I thought of using a random
control like a textfield or an NSImageView that I would resize live
while the slider is dragged...
The problem is, I don't really have enough "room" or space in my
application window to display a rectangle that big... so I'm not sure
how I could do it... ? Perhaps with a floating panel that gets resized
when my slider is dragged?? Or is there a way that I can draw a
rectangle or something "in front" or "over" all of my window's controls,
and hide that rectangle once the slider is released??
I'm not really looking for exact code, but more for ideas on how to
implement something like that...
Jean-Nicolas Jolivet
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden