summaryrefslogtreecommitdiff
path: root/fluid/Fl_Window_Type.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-12-20 22:19:24 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-12-20 22:19:24 +0000
commita8e883155958ae8a7ea9087682da42411d46d3d9 (patch)
tree0d1d3b7e19056a6b1e75e12ff5d8d57674b506cf /fluid/Fl_Window_Type.cxx
parent3b65b1b3bfc5c49bf5d843f30bfd60df03c71ddb (diff)
Moved global FLTK options into Fluid until we find a better setup. Restored the original Preferences demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8089 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Window_Type.cxx')
-rw-r--r--fluid/Fl_Window_Type.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx
index 6bf1e06f0..a7278d6f3 100644
--- a/fluid/Fl_Window_Type.cxx
+++ b/fluid/Fl_Window_Type.cxx
@@ -245,6 +245,11 @@ void show_settings_cb(Fl_Widget *, void *) {
settings_window->show();
}
+void show_global_settings_cb(Fl_Widget *, void *) {
+ global_settings_window->hotspot(global_settings_window);
+ show_global_settings_window();
+}
+
void header_input_cb(Fl_Input* i, void*) {
if (header_file_name && strcmp(header_file_name, i->value()))
set_modflag(1);