diff options
Diffstat (limited to 'src/Fl_File_Chooser.cxx')
| -rw-r--r-- | src/Fl_File_Chooser.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx index 009717495..d79da30d4 100644 --- a/src/Fl_File_Chooser.cxx +++ b/src/Fl_File_Chooser.cxx @@ -1,14 +1,14 @@ -// generated by Fast Light User Interface Designer (fluid) version 1.0103 +// generated by Fast Light User Interface Designer (fluid) version 1.0104 #include "../FL/Fl_File_Chooser.H" -inline void Fl_File_Chooser::cb_window_i(Fl_Window*, void*) { +inline void Fl_File_Chooser::cb_window_i(Fl_Double_Window*, void*) { fileName->value(""); fileList->deselect(); Fl::remove_timeout((Fl_Timeout_Handler)previewCB, this); window->hide(); } -void Fl_File_Chooser::cb_window(Fl_Window* o, void* v) { +void Fl_File_Chooser::cb_window(Fl_Double_Window* o, void* v) { ((Fl_File_Chooser*)(o->user_data()))->cb_window_i(o,v); } @@ -131,8 +131,8 @@ void Fl_File_Chooser::cb_favOkButton(Fl_Return_Button* o, void* v) { } Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char *title) { - Fl_Window* w; - { Fl_Window* o = window = new Fl_Window(490, 380, "Choose File"); + Fl_Double_Window* w; + { Fl_Double_Window* o = window = new Fl_Double_Window(490, 380, "Choose File"); w = o; o->callback((Fl_Callback*)cb_window, (void*)(this)); { Fl_Group* o = new Fl_Group(65, 10, 415, 25); @@ -185,22 +185,22 @@ Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char } o->end(); } - { Fl_File_Input* o = fileName = new Fl_File_Input(85, 300, 395, 35); + { Fl_File_Input* o = fileName = new Fl_File_Input(115, 300, 365, 35); o->callback((Fl_Callback*)cb_fileName); o->when(FL_WHEN_ENTER_KEY); Fl_Group::current()->resizable(o); fileName->when(FL_WHEN_CHANGED | FL_WHEN_ENTER_KEY_ALWAYS); } - { Fl_Box* o = new Fl_Box(0, 310, 85, 25, "Filename:"); + { Fl_Box* o = new Fl_Box(10, 310, 105, 25, "Filename:"); o->align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE); o->label(filename_label); } { Fl_Group* o = new Fl_Group(10, 345, 470, 25); - { Fl_Return_Button* o = okButton = new Fl_Return_Button(320, 345, 75, 25, "OK"); + { Fl_Return_Button* o = okButton = new Fl_Return_Button(300, 345, 85, 25, "OK"); o->callback((Fl_Callback*)cb_okButton); okButton->label(fl_ok); } - { Fl_Button* o = new Fl_Button(405, 345, 75, 25, "Cancel"); + { Fl_Button* o = new Fl_Button(395, 345, 85, 25, "Cancel"); o->callback((Fl_Callback*)cb_Cancel); o->label(fl_cancel); } @@ -215,7 +215,7 @@ Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char o->set_modal(); o->end(); } - { Fl_Window* o = favWindow = new Fl_Window(355, 150, "Manage Favorites"); + { Fl_Double_Window* o = favWindow = new Fl_Double_Window(355, 150, "Manage Favorites"); w = o; o->user_data((void*)(this)); { Fl_File_Browser* o = favList = new Fl_File_Browser(10, 10, 300, 95); |
