diff options
Diffstat (limited to 'fluid/ide_support_ui.fl')
| -rw-r--r-- | fluid/ide_support_ui.fl | 48 |
1 files changed, 26 insertions, 22 deletions
diff --git a/fluid/ide_support_ui.fl b/fluid/ide_support_ui.fl index 75f38ad2b..539526ae8 100644 --- a/fluid/ide_support_ui.fl +++ b/fluid/ide_support_ui.fl @@ -37,48 +37,52 @@ decl {\#include <FL/Fl_Tree.H>} {public local decl {\#include "ide_support.h"} {private global } -decl {\#include <FL/Fl_File_Chooser.H>} {selected private global +decl {\#include <FL/Fl_File_Chooser.H>} {private global } Function {make_dbmanager_window()} {open } { Fl_Window dbmanager_window {open - xywh {459 167 409 510} type Double resizable visible + xywh {459 167 427 500} type Double resizable visible } { - Fl_File_Input {} { - label {Database:} - xywh {80 4 280 36} - } - Fl_Button {} { - label {@fileopen} - callback {const char *filename = fl_file_chooser("Load Database", "*.db", 0, 0); -if (filename) { - ui_load_database(filename); -}} - xywh {360 14 36 26} labelcolor 94 - } Fl_Box dbmanager_tree { - xywh {12 52 208 444} box DOWN_BOX color 55 resizable + xywh {8 8 200 480} box DOWN_BOX color 55 resizable code0 {dbmanager_tree->showroot(0);} code1 {dbmanager_tree->labelsize(12);} class Fl_Tree } Fl_Group {} {open - xywh {232 52 164 444} + xywh {216 8 200 444} box ENGRAVED_BOX } { - Fl_Button {} { - label Close - xywh {304 468 92 28} - } Fl_Group {} {open - xywh {232 128 164 340} resizable + xywh {224 271 184 172} resizable } {} Fl_Box {} { label {Show editor for selected Item here} - xywh {232 52 164 76} box THIN_DOWN_BOX + xywh {224 108 184 160} box THIN_DOWN_BOX } + Fl_Button {} { + label {Open Database...} + callback {const char *filename = fl_file_chooser("Load Database", "*.db", 0, 0); +if (filename) { + ui_load_database(filename); +}} + xywh {242 60 148 28} + } + Fl_Button {} { + label { (New Database... )} + callback {const char *filename = fl_file_chooser("Load Database", "*.db", 0, 0); +if (filename) { + ui_load_database(filename); +}} selected + xywh {242 24 148 28} deactivate + } + } + Fl_Button {} { + label {( Close )} + xywh {324 460 92 28} deactivate } } } |
