comparison dw/fltkcomplexbutton.hh @ 2024:f542084fa707

rm spaces
author corvid <corvid@lavabit.com>
date Mon, 16 May 2011 19:13:04 +0000
parents 73336563b6e7
children 5625ee0230ad
comparison
equal deleted inserted replaced
2023:263540f2e5fa 2024:f542084fa707
21 #define __FLTK_COMPLEX_BUTTON_HH__ 21 #define __FLTK_COMPLEX_BUTTON_HH__
22 22
23 #include <FL/Fl_Group.H> 23 #include <FL/Fl_Group.H>
24 24
25 // values for type() 25 // values for type()
26 #define FL_NORMAL_BUTTON 0 /**< value() will be set to 1 during the press of the button and 26 #define FL_NORMAL_BUTTON 0 /**< value() will be set to 1 during the press of the button and
27 reverts back to 0 when the button is released */ 27 reverts back to 0 when the button is released */
28 #define FL_TOGGLE_BUTTON 1 ///< value() toggles between 0 and 1 at every click of the button 28 #define FL_TOGGLE_BUTTON 1 ///< value() toggles between 0 and 1 at every click of the button
29 #define FL_RADIO_BUTTON (FL_RESERVED_TYPE+2) /**< is set to 1 at button press, and all other 29 #define FL_RADIO_BUTTON (FL_RESERVED_TYPE+2) /**< is set to 1 at button press, and all other
30 buttons in the same group with <tt>type() == FL_RADIO_BUTTON</tt> 30 buttons in the same group with <tt>type() == FL_RADIO_BUTTON</tt>
31 are set to zero.*/ 31 are set to zero.*/
47 protected: 47 protected:
48 48
49 static Fl_Widget_Tracker *key_release_tracker; 49 static Fl_Widget_Tracker *key_release_tracker;
50 static void key_release_timeout(void*); 50 static void key_release_timeout(void*);
51 void simulate_key_action(); 51 void simulate_key_action();
52 52
53 virtual void draw(); 53 virtual void draw();
54 54
55 public: 55 public:
56 56
57 virtual int handle(int); 57 virtual int handle(int);