diff options
Diffstat (limited to 'src/Fl_File_Chooser.fl')
| -rw-r--r-- | src/Fl_File_Chooser.fl | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/Fl_File_Chooser.fl b/src/Fl_File_Chooser.fl index 7be3d2752..451fb567e 100644 --- a/src/Fl_File_Chooser.fl +++ b/src/Fl_File_Chooser.fl @@ -53,13 +53,14 @@ class FL_EXPORT Fl_File_Chooser {open decl {void showChoiceCB();} {} decl {void update_favorites();} {} decl {void update_preview();} {} - Function {Fl_File_Chooser(const char *d, const char *p, int t, const char *title)} {} { + Function {Fl_File_Chooser(const char *d, const char *p, int t, const char *title)} {open + } { Fl_Window window { label {Choose File} callback {fileName->value(""); fileList->deselect(); Fl::remove_timeout((Fl_Timeout_Handler)previewCB, this); -window->hide();} open +window->hide();} selected private xywh {387 242 490 380} type Double resizable code0 {if (title) window->label(title);} code1 {\#include <stdio.h>} @@ -89,8 +90,8 @@ window->hide();} open } } Fl_Tile {} { - callback {update_preview();} - private xywh {10 45 471 225} resizable + callback {update_preview();} open + private xywh {10 45 470 225} resizable } { Fl_File_Browser fileList { callback {fileListCB();} @@ -98,12 +99,12 @@ window->hide();} open code0 {\#include <FL/Fl_File_Browser.H>} } Fl_Box previewBox { - label {?} selected + label {?} private xywh {305 45 175 225} box DOWN_BOX labelsize 100 align 80 } } - Fl_Group {} {open - private xywh {0 275 480 95} + Fl_Group {} { + private xywh {10 275 470 95} } { Fl_Group {} { private xywh {10 275 470 20} @@ -159,7 +160,7 @@ window->hide();} } Fl_Window favWindow { label {Manage Favorites} - private xywh {580 50 355 150} type Double resizable + private xywh {437 187 355 150} type Double resizable code0 {favWindow->label(manage_favorites_label);} modal size_range {181 150 0 0} visible } { Fl_File_Browser favList { |
