on-screen slider [message #26290] |
Sat, 18 August 2001 16:29  |
ronn
Messages: 123 Registered: April 1999
|
Senior Member |
|
|
All,
Back in June Mark Hadfield made an off hand remark about having on-screen
sliders in IDL. The idea was to have sliders that would pop-up in a window
like on the newer TV sets (and monitors). The idea appealed to me and after
a little experimenting I have something that works in object graphics. I am
calling it a ghost slider since it can appear and dissapear.
You can download this at
http://www.kilvarock.com/freesoftware/objects/objects.htm
It is in a zip file along with an example program and a pdf help file. Let
me know what you think.
This could be done in direct graphics but would be so much more painful that
I doubt that I will attempt it.
-Ronn
--
Ronn Kling
KRS, inc.
email: ronn@rlkling.com
"Application Development with IDL"� programming book updated for IDL5.4!
"Calling C from IDL, Using DLM's to extend your IDL code" NEW BOOK!
http://www.rlkling.com/
|
|
|
Re: on-screen slider [message #26373 is a reply to message #26290] |
Mon, 20 August 2001 12:37  |
Pavel A. Romashkin
Messages: 531 Registered: November 2000
|
Senior Member |
|
|
Hi Ronn,
Pretty neat! I couldn't see at first why did it have to carry all the
overhead from the Model class, but on the second thought it seems to
make sense - sliders are independent of the rest of the graphic
transformation, since it is an on-screen, TV-like control.
Would be nice to have an INIT method error handling - failure to specify
all parameters right causes a "hard" crash of the code.
But no doubt, very stylish! It will be in my programs.
Thanks,
Pavel
|
|
|