]> git.mxchange.org Git - flightgear.git/blob - utils/fgadmin/src/fgadmin.h
798eebd2cc0cdc022ab543b16a03f3e5d56255cb
[flightgear.git] / utils / fgadmin / src / fgadmin.h
1 // generated by Fast Light User Interface Designer (fluid) version 1.0106
2
3 #ifndef fgadmin_h
4 #define fgadmin_h
5 #include <string>
6 using std::string;
7
8 #include <FL/Fl.H>
9 #include <FL/Fl_Preferences.H>
10 #include <FL/Fl_Double_Window.H>
11 #include <FL/Fl_Group.H>
12 #include <FL/Fl_Button.H>
13 #include <FL/Fl_Progress.H>
14 #include <FL/Fl_Input.H>
15 #include <FL/Fl_Check_Browser.H>
16
17 class FGAdminUI {
18 public:
19   FGAdminUI();
20   Fl_Double_Window *main_window;
21 private:
22   inline void cb_main_window_i(Fl_Double_Window*, void*);
23   static void cb_main_window(Fl_Double_Window*, void*);
24 public:
25   Fl_Button *quit_b;
26 private:
27   inline void cb_quit_b_i(Fl_Button*, void*);
28   static void cb_quit_b(Fl_Button*, void*);
29 public:
30   Fl_Progress *progress;
31   Fl_Button *source_b;
32 private:
33   inline void cb_source_b_i(Fl_Button*, void*);
34   static void cb_source_b(Fl_Button*, void*);
35 public:
36   Fl_Input *source_text;
37   Fl_Check_Browser *install_box;
38   Fl_Button *install_b;
39 private:
40   inline void cb_install_b_i(Fl_Button*, void*);
41   static void cb_install_b(Fl_Button*, void*);
42 public:
43   Fl_Button *source_sel_all;
44 private:
45   inline void cb_source_sel_all_i(Fl_Button*, void*);
46   static void cb_source_sel_all(Fl_Button*, void*);
47 public:
48   Fl_Button *source_desel_all;
49 private:
50   inline void cb_source_desel_all_i(Fl_Button*, void*);
51   static void cb_source_desel_all(Fl_Button*, void*);
52 public:
53   Fl_Button *dest_b;
54 private:
55   inline void cb_dest_b_i(Fl_Button*, void*);
56   static void cb_dest_b(Fl_Button*, void*);
57 public:
58   Fl_Input *dest_text;
59   Fl_Check_Browser *remove_box;
60   Fl_Button *remove_b;
61 private:
62   inline void cb_remove_b_i(Fl_Button*, void*);
63   static void cb_remove_b(Fl_Button*, void*);
64 public:
65   Fl_Button *dest_sel_all;
66 private:
67   inline void cb_dest_sel_all_i(Fl_Button*, void*);
68   static void cb_dest_sel_all(Fl_Button*, void*);
69 public:
70   Fl_Button *dest_desel_all;
71 private:
72   inline void cb_dest_desel_all_i(Fl_Button*, void*);
73   static void cb_dest_desel_all(Fl_Button*, void*);
74 public:
75   ~FGAdminUI();
76   void init();
77   void show();
78   static void step( void * );
79   static void step( void *, int );
80 private:
81   void refresh_lists();
82   void quit();
83   void select_install_source();
84   void select_install_dest();
85   void update_install_box();
86   void update_remove_box();
87   void install_selected();
88   void remove_selected();
89   void select_all_source();
90   void deselect_all_source();
91   void select_all_dest();
92   void deselect_all_dest();
93   Fl_Preferences *prefs;
94   string source;
95   string dest;
96   string progress_label;
97 };
98 #endif