summaryrefslogtreecommitdiff
path: root/fluid/ide_support_ui.fl
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-03-01 20:53:21 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-03-01 20:53:21 +0000
commit49df7f85d875b3d8404d4f3206d1fced6393c1af (patch)
tree2b7edaeccf9f09f550388d2bc0bd673f48f1bb79 /fluid/ide_support_ui.fl
parent6a7003164704a87872ae45d141736f3006dc39a3 (diff)
Additions to the Database Editor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/ide_support_ui.fl')
-rw-r--r--fluid/ide_support_ui.fl48
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
}
}
}