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 {using std::string;} {public
14 class FGAdminUI {open selected
16 decl {\#include <iostream>} {}
17 decl {using std::cout;} {}
18 decl {using std::endl;} {}
19 Function {FGAdminUI()} {open
21 Fl_Window main_window {
22 label {FlightGear Admin Wizard} open
23 xywh {186 521 465 435} type Double visible
31 label {Select Scenery Source ...}
32 callback {select_install_source();
36 Fl_Input source_text {
40 label {Select Install Destination ...}
41 callback {select_install_dest();
48 Fl_Check_Browser install_box {
49 label {Select Files to Install}
52 Fl_Check_Browser remove_box {
53 label {Select Files to Remove}
57 label {Install Selected Files}
58 callback {install_selected();}
59 xywh {20 360 195 35} labelfont 1
62 label {Remove Selected Files}
63 callback {remove_selected();}
64 xywh {250 360 195 35} labelfont 1
68 decl {~FGAdminUI();} {public
70 decl {void init();} {public
72 decl {void show();} {public
74 decl {void refresh_lists();} {}
75 decl {void quit();} {}
76 decl {void select_install_source();} {}
77 decl {void select_install_dest();} {}
78 decl {void update_install_box();} {}
79 decl {void update_remove_box();} {}
80 decl {void install_selected();} {}
81 decl {void remove_selected();} {}
82 decl {Fl_Preferences *prefs;} {}
83 decl {string source;} {}
84 decl {string dest;} {}