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.

31 lines
698B

  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. Fl_DragBar(int x,int y,int w,int h,const char *l=0);
  13. ~Fl_DragBar();
  14. enum DragType {WINDRAG=0,NICEWINDRAG,FLDRAG,NICEFLDRAG};
  15. void (*cb_OnClick)(Fl_Widget*, int button, int shift_state, void*);
  16. void *cb_OnClick_Data;
  17. void (*cb_OnDrag)(Fl_Widget*, int xoffset,int yoffset, void*);
  18. void *cb_OnDrag_Data;
  19. private:
  20. void draw();
  21. int handle(int event);
  22. public:
  23. void type(int t);
  24. };
  25. #endif