You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
511B

  1. // generated by Fast Light User Interface Designer (fluid) version 1.0010
  2. #ifndef Fl_DragBar_H
  3. #define Fl_DragBar_H
  4. #include <FL/Fl.H>
  5. #include <FL/fl_draw.H>
  6. #include <FL/Fl_Widget.H>
  7. #include <FL/Fl_Window.H>
  8. class Fl_DragBar : public Fl_Widget {
  9. int old_rx,old_ry;
  10. int _type;
  11. public:
  12. enum DragType {WINDRAG=0,NICEWINDRAG,FLDRAG,NICEFLDRAG};
  13. Fl_DragBar(int x,int y,int w,int h,const char *l=0);
  14. ~Fl_DragBar();
  15. private:
  16. void draw();
  17. int handle(int event);
  18. public:
  19. void type(int t);
  20. };
  21. #endif