1 // generated by Fast Light User Interface Designer (fluid) version 1.0305
2 
3 #include "gettext.h"
4 #include "record_browse.h"
5 #include <config.h>
6 
7 Fl_Group *tabDataFiles=(Fl_Group *)0;
8 
9 Fl_Input_Choice *inpDataSources=(Fl_Input_Choice *)0;
10 
11 Fl_Light_Button *btnDataSourceUpdate=(Fl_Light_Button *)0;
12 
cb_btnDataSourceUpdate(Fl_Light_Button *,void *)13 static void cb_btnDataSourceUpdate(Fl_Light_Button*, void*) {
14   DerivedRecordLst::cbGuiUpdate();
15 }
16 
17 Fl_Button *btnDataSourceReset=(Fl_Button *)0;
18 
cb_btnDataSourceReset(Fl_Button *,void *)19 static void cb_btnDataSourceReset(Fl_Button*, void*) {
20   DerivedRecordLst::cbGuiReset();
21 }
22 
make_record_loader_window()23 Fl_Double_Window* make_record_loader_window() {
24   Fl_Double_Window* w;
25   { Fl_Double_Window* o = new Fl_Double_Window(540, 280, _("Data files sources"));
26     w = o; if (w) {/* empty */}
27     o->tooltip(_("Data files update"));
28     { tabDataFiles = new Fl_Group(3, 18, 535, 255);
29       tabDataFiles->tooltip(_("Tabular data sources"));
30       { DerivedRecordLst* o = new DerivedRecordLst(4, 18, 529, 217, _("Data files sources"));
31         o->box(FL_THIN_DOWN_FRAME);
32         o->color(FL_BACKGROUND_COLOR);
33         o->selection_color(FL_BACKGROUND_COLOR);
34         o->labeltype(FL_NO_LABEL);
35         o->labelfont(0);
36         o->labelsize(14);
37         o->labelcolor(FL_FOREGROUND_COLOR);
38         o->align(Fl_Align(FL_ALIGN_TOP));
39         o->when(FL_WHEN_RELEASE);
40         o->end();
41         Fl_Group::current()->resizable(o);
42       } // DerivedRecordLst* o
43       { inpDataSources = new Fl_Input_Choice(4, 247, 284, 21, _("Data source"));
44         inpDataSources->tooltip(_("Data files repository"));
45         inpDataSources->align(Fl_Align(FL_ALIGN_RIGHT));
46       } // Fl_Input_Choice* inpDataSources
47       { btnDataSourceUpdate = new Fl_Light_Button(385, 247, 74, 20, _("Update"));
48         btnDataSourceUpdate->tooltip(_("Update selected local data files with repository content"));
49         btnDataSourceUpdate->callback((Fl_Callback*)cb_btnDataSourceUpdate);
50       } // Fl_Light_Button* btnDataSourceUpdate
51       { btnDataSourceReset = new Fl_Button(463, 247, 70, 20, _("Reset"));
52         btnDataSourceReset->tooltip(_("Delete local data files if selected."));
53         btnDataSourceReset->callback((Fl_Callback*)cb_btnDataSourceReset);
54       } // Fl_Button* btnDataSourceReset
55       tabDataFiles->end();
56       Fl_Group::current()->resizable(tabDataFiles);
57     } // Fl_Group* tabDataFiles
58     o->end();
59   } // Fl_Double_Window* o
60   return w;
61 }
62