1 # data file for the Fltk User Interface Designer (fluid)
5 decl {\#include <string>} {public
8 decl {\#include <FL/Fl_Preferences.H>} {public
11 decl {\#include <FL/fl_ask.H>} {}
13 decl {using std::string;} {public
18 decl {\#include <iostream>} {}
19 decl {using std::cout;} {}
20 decl {using std::endl;} {}
21 Function {FGAdminUI()} {open
23 Fl_Window main_window {
24 label {FlightGear Admin Wizard}
25 callback {fl_alert("Use the Quit button to exit fgadmin");} open
26 xywh {500 247 465 435} type Double resizable visible
36 Fl_Progress progress {
37 xywh {5 405 365 25} color 49 selection_color 175 resizable
41 xywh {5 5 460 390} resizable
47 label {Select Scenery Source ...}
48 callback {select_install_source();
52 Fl_Input source_text {
55 Fl_Check_Browser install_box {
56 label {Select Files to Install}
57 xywh {5 95 225 240} resizable
60 label {Install Selected Files}
61 callback {install_selected();}
62 xywh {20 360 195 35} labelfont 1
64 Fl_Button source_sel_all {
66 callback {install_box->check_all();}
69 Fl_Button source_desel_all {
71 callback {install_box->check_none();}
79 label {Select Install Destination ...}
80 callback {select_install_dest();
87 Fl_Check_Browser remove_box {
88 label {Select Files to Remove}
89 xywh {235 95 225 240} resizable
92 label {Remove Selected Files}
93 callback {remove_selected();}
94 xywh {250 360 195 35} labelfont 1
96 Fl_Button dest_sel_all {
98 callback {remove_box->check_all();}
101 Fl_Button dest_desel_all {
103 callback {remove_box->check_none();} selected
110 decl {~FGAdminUI();} {public
112 decl {void init();} {public
114 decl {void show();} {public
116 decl {static void step( void * );} {public
118 decl {static void step( void *, int );} {public
120 decl {void refresh_lists();} {}
121 decl {void quit();} {}
122 decl {void select_install_source();} {}
123 decl {void select_install_dest();} {}
124 decl {void update_install_box();} {}
125 decl {void update_remove_box();} {}
126 decl {void install_selected();} {}
127 decl {void remove_selected();} {}
128 decl {void select_all_source();} {}
129 decl {void deselect_all_source();} {}
130 decl {void select_all_dest();} {}
131 decl {void deselect_all_dest();} {}
132 decl {Fl_Preferences *prefs;} {}
133 decl {string source;} {}
134 decl {string dest;} {}
135 decl {string progress_label;} {}