GIDForums  

Go Back   GIDForums > Computer Programming Forums > FLTK Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 04-Jun-2009, 10:12
Michi21609 Michi21609 is offline
New Member
 
Join Date: Jun 2009
Posts: 1
Michi21609 is on a distinguished road

Button with pictures pressed and released


Hi!

I want to do the following:

I want do draw a button in FLTK which contains pictures.

If the button is not pressed, the first image should be shown in the button. If I press the button, the second picture should appear. If I release the Button, the first image should be shown again.

Does FLTK (1.1.x) support this directly or do I have to do a workarround?

Thanks!
Michael
  #2  
Old 22-Jun-2009, 08:21
bluekid bluekid is offline
Junior Member
 
Join Date: Apr 2006
Posts: 42
bluekid will become famous soon enough

Re: Button with pictures pressed and released


write callback function change the pictures
 
 

Recent GIDBlogProblems with the Navy (Chiefs) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linked Lists advice request promsan C Programming Language 74 23-May-2007 09:29
triangle (polygon), drawing, sizing, and rotation programme using linked lists... promsan C Programming Language 12 14-May-2007 15:03

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 05:24.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.