| 1 | #pragma once |
| 2 | |
| 3 | #include <FL/Fl_Button.H> |
| 4 | #include <FL/Fl_Scroll.H> |
| 5 | #include <FL/Fl_Choice.H> |
| 6 | |
| 7 | namespace fe { |
| 8 | class Widget { |
| 9 | public: |
| 10 | static Fl_Button *getSetButton() { return setButton; } |
| 11 | static void setSetButton(Fl_Button *b) { setButton = b; } |
| 12 | static Fl_Button *getChooseButton() { return chooseButton; } |
| 13 | static void setChooseButton(Fl_Button *b) { chooseButton = b; } |
| 14 | static Fl_Scroll *getScroll() { return scroll; } |
| 15 | static void setScroll(Fl_Scroll *s) { scroll = s; } |
| 16 | static Fl_Choice *getModeChoice() { return modeChoice; } |
| 17 | static void setModeChoice(Fl_Choice *c) { modeChoice = c; } |
| 18 | |
| 19 | private: |
| 20 | static Fl_Button *chooseButton; |
| 21 | static Fl_Button *setButton; |
| 22 | static Fl_Scroll *scroll; |
| 23 | static Fl_Choice *modeChoice; |
| 24 | }; |
| 25 | } |