Shortcut_Button.h 899 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // "$Id: Shortcut_Button.h 8864 2011-07-19 04:49:30Z greg.ercolano $"
  3. //
  4. // Shortcut header file for the Fast Light Tool Kit (FLTK).
  5. //
  6. // Copyright 1998-2010 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. #include <FL/Fl_Button.H>
  19. class Shortcut_Button : public Fl_Button {
  20. public:
  21. int svalue;
  22. int handle(int);
  23. void draw();
  24. Shortcut_Button(int X,int Y,int W,int H, const char* l = 0) :
  25. Fl_Button(X,Y,W,H,l) {svalue = 0;}
  26. };
  27. //
  28. // End of "$Id: Shortcut_Button.h 8864 2011-07-19 04:49:30Z greg.ercolano $".
  29. //