Fl_Round_Button.H 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // "$Id: Fl_Round_Button.H 10386 2014-10-19 20:17:17Z AlbrechtS $"
  3. //
  4. // Round button header file for the Fast Light Tool Kit (FLTK).
  5. //
  6. // Copyright 1998-2014 by Bill Spitzak and others.
  7. //
  8. // This library is free software. Distribution and use rights are outlined in
  9. // the file "COPYING" which should have been included with this file. If this
  10. // file is missing or damaged, see the license at:
  11. //
  12. // http://www.fltk.org/COPYING.php
  13. //
  14. // Please report all bugs and problems on the following page:
  15. //
  16. // http://www.fltk.org/str.php
  17. //
  18. #ifndef Fl_Round_Button_H
  19. #define Fl_Round_Button_H
  20. #include "Fl_Light_Button.H"
  21. /**
  22. Buttons generate callbacks when they are clicked by the user. You
  23. control exactly when and how by changing the values for type()
  24. and when().
  25. <P ALIGN=CENTER>\image html Fl_Round_Button.png</P>
  26. \image latex Fl_Round_Button.png " Fl_Round_Button" width=4cm
  27. <P>The Fl_Round_Button subclass display the "on" state by
  28. turning on a light, rather than drawing pushed in. The shape of the
  29. "light" is initially set to FL_ROUND_DOWN_BOX. The color of the light
  30. when on is controlled with selection_color(), which defaults to
  31. FL_FOREGROUND_COLOR.
  32. */
  33. class FL_EXPORT Fl_Round_Button : public Fl_Light_Button {
  34. public:
  35. Fl_Round_Button(int x,int y,int w,int h,const char *l = 0);
  36. DECLARE_CLASS_CHEAP_RTTI_2(Fl_Round_Button, Fl_Light_Button)
  37. };
  38. #endif
  39. //
  40. // End of "$Id: Fl_Round_Button.H 10386 2014-10-19 20:17:17Z AlbrechtS $".
  41. //