Fl_Roller.H 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // "$Id: Fl_Roller.H 8864 2011-07-19 04:49:30Z greg.ercolano $"
  3. //
  4. // Roller 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. /* \file
  19. Fl_Roller widget . */
  20. #ifndef Fl_Roller_H
  21. #define Fl_Roller_H
  22. #ifndef Fl_Valuator_H
  23. #include "Fl_Valuator.H"
  24. #endif
  25. /**
  26. The Fl_Roller widget is a "dolly" control commonly used to
  27. move 3D objects.
  28. <P ALIGN=CENTER>\image html Fl_Roller.png
  29. \image latex Fl_Roller.png "Fl_Roller" width=4cm
  30. */
  31. class FL_EXPORT Fl_Roller : public Fl_Valuator {
  32. protected:
  33. void draw();
  34. public:
  35. int handle(int);
  36. Fl_Roller(int X,int Y,int W,int H,const char* L=0);
  37. DECLARE_CLASS_CHEAP_RTTI_2(Fl_Roller, Fl_Valuator)
  38. };
  39. #endif
  40. //
  41. // End of "$Id: Fl_Roller.H 8864 2011-07-19 04:49:30Z greg.ercolano $".
  42. //