color bitmap button labels [message #26387] |
Sun, 02 September 2001 20:22  |
graves
Messages: 7 Registered: September 2001
|
Junior Member |
|
|
Hi all,
Does anyone know how to explicitly specify an array to be used as a
color bitmap button label? I know how to use CVTTOBM to convert a
byte array into a monochrome "bitmap byte array" (as RSI calls it)
that passed to WIDGET_BUTTON via the VALUE keyword. However, i can't
seem to find a way to extend this to a color bitmap without specifying
a filename in the VALUE keyword to WIDGET_BUTTON.
The reason i ask is because i would like my code to be completely
self-sufficient, so that i do not have to worry about copying any
bitmap files when moving the code to a new platform. I've searched
the newsgroup and the web for an answer to this but have had no luck,
so i throw myself on your collective wisdom. Thanks in advance!
Ted Graves
|
|
|
|
Re: color bitmap button labels [message #26491 is a reply to message #26387] |
Wed, 05 September 2001 22:25  |
Kristine Hensel
Messages: 26 Registered: June 1999
|
Junior Member |
|
|
David Fanning wrote:
> Yeah, I have lots of good ideas, but not one of
> them has ever made me rich. Have you listened to the
> lyrics of some of these songs that are making
> these "musicians" millions!? "Blah, blah, da blah."
>
> How come I never come up with an idea like that? :-(
Perhaps you need to compose a song about histograms.
Kristine
--
Kristine Hensel
Environmental Systems & Services Phone: +61-3-9835-7901
20 Council St.
Hawthorn East, VIC 3123 Australia e-mail: kristine@esands.com
|
|
|
Re: color bitmap button labels [message #26492 is a reply to message #26387] |
Wed, 05 September 2001 20:18  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Ted Graves (egraves@socrates.Berkeley.EDU) writes:
> Thanks for the heads up ... i decided to get around it by creating a
> compound widget, involving a draw widget, that returns events as if it
> were a button widget. I believe i read somewhere on David's site that he
> had written a routine like this in the past ... good idea David!
Yeah, I have lots of good ideas, but not one of
them has ever made me rich. Have you listened to the
lyrics of some of these songs that are making
these "musicians" millions!? "Blah, blah, da blah."
How come I never come up with an idea like that? :-(
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|