mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 08:06:35 +08:00
Update fluid .fl files and generated code - remove trailing white space.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+16
-16
@@ -169,64 +169,64 @@ public:
|
|||||||
void value(const char *filename);
|
void value(const char *filename);
|
||||||
int visible();
|
int visible();
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *add_favorites_label;
|
static const char *add_favorites_label;
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *all_files_label;
|
static const char *all_files_label;
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *custom_filter_label;
|
static const char *custom_filter_label;
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *existing_file_label;
|
static const char *existing_file_label;
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *favorites_label;
|
static const char *favorites_label;
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *filename_label;
|
static const char *filename_label;
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *filesystems_label;
|
static const char *filesystems_label;
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *manage_favorites_label;
|
static const char *manage_favorites_label;
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *new_directory_label;
|
static const char *new_directory_label;
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *new_directory_tooltip;
|
static const char *new_directory_tooltip;
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *preview_label;
|
static const char *preview_label;
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *save_label;
|
static const char *save_label;
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *show_label;
|
static const char *show_label;
|
||||||
/**
|
/**
|
||||||
[standard text may be customized at run-time]
|
[standard text may be customized at run-time]
|
||||||
*/
|
*/
|
||||||
static const char *hidden_label;
|
static const char *hidden_label;
|
||||||
/**
|
/**
|
||||||
the sort function that is used when loading
|
the sort function that is used when loading
|
||||||
the contents of a directory.
|
the contents of a directory.
|
||||||
*/
|
*/
|
||||||
static Fl_File_Sort_F *sort;
|
static Fl_File_Sort_F *sort;
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -295,7 +295,7 @@ Fl_Double_Window* make_about_panel() {
|
|||||||
return about_panel;
|
return about_panel;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
Embedded image for internal fluid.html web page.
|
Embedded image for internal fluid.html web page.
|
||||||
*/
|
*/
|
||||||
unsigned char fluid_org_png[12690] = /* binary data included from ../documentation/src/fluid-org.png */
|
unsigned char fluid_org_png[12690] = /* binary data included from ../documentation/src/fluid-org.png */
|
||||||
{137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,2,161,0,0,1,14,8,4,0,0,0,
|
{137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,2,161,0,0,1,14,8,4,0,0,0,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
comment {//
|
comment {//
|
||||||
// "$Id$"
|
// "$Id$"
|
||||||
@@ -20,10 +20,10 @@ comment {//
|
|||||||
// http://www.fltk.org/str.php
|
// http://www.fltk.org/str.php
|
||||||
//
|
//
|
||||||
} {in_source in_header
|
} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {void show_help(const char *name);} {public local
|
decl {void show_help(const char *name);} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_about_panel()} {open
|
Function {make_about_panel()} {open
|
||||||
} {
|
} {
|
||||||
@@ -60,14 +60,14 @@ Bill Spitzak and others}
|
|||||||
xywh {250 145 83 25}
|
xywh {250 145 83 25}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
data fluid_org_png {
|
data fluid_org_png {
|
||||||
comment {Embedded image for internal fluid.html web page.} public local filename {../documentation/src/fluid-org.png}
|
comment {Embedded image for internal fluid.html web page.} public local filename {../documentation/src/fluid-org.png}
|
||||||
}
|
}
|
||||||
|
|
||||||
comment {
|
comment {
|
||||||
//
|
//
|
||||||
// End of "$Id$".
|
// End of "$Id$".
|
||||||
//} {in_source in_header
|
//} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|||||||
+29
-29
@@ -40,9 +40,9 @@ Fl_Check_Button *use_FL_COMMAND_button=(Fl_Check_Button *)0;
|
|||||||
Fl_Choice *i18n_type_chooser=(Fl_Choice *)0;
|
Fl_Choice *i18n_type_chooser=(Fl_Choice *)0;
|
||||||
|
|
||||||
Fl_Menu_Item menu_i18n_type_chooser[] = {
|
Fl_Menu_Item menu_i18n_type_chooser[] = {
|
||||||
{"None", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"None", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"GNU gettext", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"GNU gettext", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"POSIX catgets", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"POSIX catgets", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -149,11 +149,11 @@ Fl_Double_Window *settings_window=(Fl_Double_Window *)0;
|
|||||||
Fl_Choice *scheme_choice=(Fl_Choice *)0;
|
Fl_Choice *scheme_choice=(Fl_Choice *)0;
|
||||||
|
|
||||||
Fl_Menu_Item menu_scheme_choice[] = {
|
Fl_Menu_Item menu_scheme_choice[] = {
|
||||||
{"Default", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"Default", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"None", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"None", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"Plastic", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"Plastic", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"GTK+", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"GTK+", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"Gleam", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"Gleam", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -497,12 +497,12 @@ Fl_Double_Window* make_layout_window() {
|
|||||||
return grid_window;
|
return grid_window;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
Copy of all options in user and system mode
|
Copy of all options in user and system mode
|
||||||
*/
|
*/
|
||||||
static int opt[10][2];
|
static int opt[10][2];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Update the UI using the values in the opt array
|
Update the UI using the values in the opt array
|
||||||
*/
|
*/
|
||||||
static void refreshUI() {
|
static void refreshUI() {
|
||||||
int mode = wUserOrSystem->value();
|
int mode = wUserOrSystem->value();
|
||||||
@@ -514,7 +514,7 @@ static void refreshUI() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
read all preferences and refresh the GUI
|
read all preferences and refresh the GUI
|
||||||
*/
|
*/
|
||||||
static void readPrefs() {
|
static void readPrefs() {
|
||||||
// read all preferences and refresh the GUI
|
// read all preferences and refresh the GUI
|
||||||
@@ -540,7 +540,7 @@ static void readPrefs() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
write all preferences using the array
|
write all preferences using the array
|
||||||
*/
|
*/
|
||||||
static void writePrefs() {
|
static void writePrefs() {
|
||||||
// write all preferences using the array
|
// write all preferences using the array
|
||||||
@@ -599,9 +599,9 @@ opt[Fl::OPTION_VISIBLE_FOCUS][mode] = wVisibleFocus->value();
|
|||||||
}
|
}
|
||||||
|
|
||||||
Fl_Menu_Item menu_wVisibleFocus[] = {
|
Fl_Menu_Item menu_wVisibleFocus[] = {
|
||||||
{"off", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"off", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"on", 0, 0, (void*)(1), 128, FL_NORMAL_LABEL, 0, 14, 0},
|
{"on", 0, 0, (void*)(1), 128, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"default", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"default", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -613,9 +613,9 @@ opt[Fl::OPTION_ARROW_FOCUS][mode] = wArrowFocus->value();
|
|||||||
}
|
}
|
||||||
|
|
||||||
Fl_Menu_Item menu_wArrowFocus[] = {
|
Fl_Menu_Item menu_wArrowFocus[] = {
|
||||||
{"off", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"off", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"on", 0, 0, (void*)(1), 128, FL_NORMAL_LABEL, 0, 14, 0},
|
{"on", 0, 0, (void*)(1), 128, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"default", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"default", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -627,9 +627,9 @@ opt[Fl::OPTION_SHOW_TOOLTIPS][mode] = wShowTooltips->value();
|
|||||||
}
|
}
|
||||||
|
|
||||||
Fl_Menu_Item menu_wShowTooltips[] = {
|
Fl_Menu_Item menu_wShowTooltips[] = {
|
||||||
{"off", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"off", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"on", 0, 0, (void*)(1), 128, FL_NORMAL_LABEL, 0, 14, 0},
|
{"on", 0, 0, (void*)(1), 128, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"default", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"default", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -641,9 +641,9 @@ opt[Fl::OPTION_DND_TEXT][mode] = wDNDText->value();
|
|||||||
}
|
}
|
||||||
|
|
||||||
Fl_Menu_Item menu_wDNDText[] = {
|
Fl_Menu_Item menu_wDNDText[] = {
|
||||||
{"off", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"off", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"on", 0, 0, (void*)(1), 128, FL_NORMAL_LABEL, 0, 14, 0},
|
{"on", 0, 0, (void*)(1), 128, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"default", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"default", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -655,9 +655,9 @@ opt[Fl::OPTION_FNFC_USES_GTK ][mode] = wGTKText->value();
|
|||||||
}
|
}
|
||||||
|
|
||||||
Fl_Menu_Item menu_wGTKText[] = {
|
Fl_Menu_Item menu_wGTKText[] = {
|
||||||
{"off", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"off", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"on", 0, 0, (void*)(1), 128, FL_NORMAL_LABEL, 0, 14, 0},
|
{"on", 0, 0, (void*)(1), 128, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"default", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"default", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -668,8 +668,8 @@ static void cb_wUserOrSystem(Fl_Choice*, void*) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Fl_Menu_Item menu_wUserOrSystem[] = {
|
Fl_Menu_Item menu_wUserOrSystem[] = {
|
||||||
{"User Settings", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"User Settings", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"System Settings", 0, 0, (void*)(1), 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"System Settings", 0, 0, (void*)(1), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
+28
-28
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
comment {//
|
comment {//
|
||||||
// "$Id$"
|
// "$Id$"
|
||||||
@@ -20,43 +20,43 @@ comment {//
|
|||||||
// http://www.fltk.org/str.php
|
// http://www.fltk.org/str.php
|
||||||
//
|
//
|
||||||
} {in_source in_header
|
} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Text_Buffer.H>} {public local
|
decl {\#include <FL/Fl_Text_Buffer.H>} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Text_Display.H>} {public local
|
decl {\#include <FL/Fl_Text_Display.H>} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/filename.H>} {public local
|
decl {\#include <FL/filename.H>} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Preferences.H>} {private global
|
decl {\#include <FL/Fl_Preferences.H>} {private global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/fl_ask.H>} {private global
|
decl {\#include <FL/fl_ask.H>} {private global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern void load_history();} {public local
|
decl {extern void load_history();} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern void redraw_browser();} {public local
|
decl {extern void redraw_browser();} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern int show_comments;} {public local
|
decl {extern int show_comments;} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern int show_coredevmenus;} {public local
|
decl {extern int show_coredevmenus;} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern struct Fl_Menu_Item *dbmanager_item;} {public local
|
decl {extern struct Fl_Menu_Item *dbmanager_item;} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern Fl_Preferences fluid_prefs;} {public local
|
decl {extern Fl_Preferences fluid_prefs;} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {Fl_Text_Buffer *shell_run_buffer;} {public local
|
decl {Fl_Text_Buffer *shell_run_buffer;} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_project_window()} {open
|
Function {make_project_window()} {open
|
||||||
} {
|
} {
|
||||||
@@ -150,13 +150,13 @@ Function {make_project_window()} {open
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern void i18n_cb(Fl_Choice *,void *);} {public local
|
decl {extern void i18n_cb(Fl_Choice *,void *);} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {void scheme_cb(Fl_Choice *, void *);} {public local
|
decl {void scheme_cb(Fl_Choice *, void *);} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_settings_window()} {} {
|
Function {make_settings_window()} {} {
|
||||||
Fl_Window settings_window {
|
Fl_Window settings_window {
|
||||||
@@ -260,7 +260,7 @@ load_history();}
|
|||||||
tooltip {Close this dialog.} xywh {276 205 64 25}
|
tooltip {Close this dialog.} xywh {276 205 64 25}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_shell_window()} {} {
|
Function {make_shell_window()} {} {
|
||||||
Fl_Window shell_window {
|
Fl_Window shell_window {
|
||||||
@@ -325,7 +325,7 @@ Function {make_shell_window()} {} {
|
|||||||
xywh {468 395 77 25}
|
xywh {468 395 77 25}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_layout_window()} {} {
|
Function {make_layout_window()} {} {
|
||||||
Fl_Window grid_window {
|
Fl_Window grid_window {
|
||||||
@@ -431,11 +431,11 @@ Function {make_layout_window()} {} {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {int opt[10][2];} {
|
decl {int opt[10][2];} {
|
||||||
comment {Copy of all options in user and system mode} private local
|
comment {Copy of all options in user and system mode} private local
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {refreshUI()} {
|
Function {refreshUI()} {
|
||||||
comment {Update the UI using the values in the opt array} private return_type void
|
comment {Update the UI using the values in the opt array} private return_type void
|
||||||
@@ -446,7 +446,7 @@ wArrowFocus->value(opt[Fl::OPTION_ARROW_FOCUS][mode]);
|
|||||||
wShowTooltips->value(opt[Fl::OPTION_SHOW_TOOLTIPS][mode]);
|
wShowTooltips->value(opt[Fl::OPTION_SHOW_TOOLTIPS][mode]);
|
||||||
wDNDText->value(opt[Fl::OPTION_DND_TEXT][mode]);
|
wDNDText->value(opt[Fl::OPTION_DND_TEXT][mode]);
|
||||||
wGTKText->value(opt[Fl::OPTION_FNFC_USES_GTK][mode]);} {}
|
wGTKText->value(opt[Fl::OPTION_FNFC_USES_GTK][mode]);} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {readPrefs()} {
|
Function {readPrefs()} {
|
||||||
comment {read all preferences and refresh the GUI} private return_type void
|
comment {read all preferences and refresh the GUI} private return_type void
|
||||||
@@ -471,7 +471,7 @@ Function {readPrefs()} {
|
|||||||
opt_prefs.get("FNFCUsesGTK", opt[Fl::OPTION_FNFC_USES_GTK ][0], 2);
|
opt_prefs.get("FNFCUsesGTK", opt[Fl::OPTION_FNFC_USES_GTK ][0], 2);
|
||||||
}
|
}
|
||||||
refreshUI();} {}
|
refreshUI();} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {writePrefs()} {
|
Function {writePrefs()} {
|
||||||
comment {write all preferences using the array} private return_type void
|
comment {write all preferences using the array} private return_type void
|
||||||
@@ -505,7 +505,7 @@ Function {writePrefs()} {
|
|||||||
if (opt[Fl::OPTION_FNFC_USES_GTK][0]==2) opt_prefs.deleteEntry("FNFCUsesGTK");
|
if (opt[Fl::OPTION_FNFC_USES_GTK][0]==2) opt_prefs.deleteEntry("FNFCUsesGTK");
|
||||||
else opt_prefs.set("FNFCUsesGTK", opt[Fl::OPTION_FNFC_USES_GTK][0]);
|
else opt_prefs.set("FNFCUsesGTK", opt[Fl::OPTION_FNFC_USES_GTK][0]);
|
||||||
}} {}
|
}} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {show_global_settings_window()} {open return_type void
|
Function {show_global_settings_window()} {open return_type void
|
||||||
} {
|
} {
|
||||||
@@ -521,7 +521,7 @@ fl_message(
|
|||||||
"Please choose these settings carefully, or reset\\n"
|
"Please choose these settings carefully, or reset\\n"
|
||||||
"user and system settings to \\"default\\".");
|
"user and system settings to \\"default\\".");
|
||||||
global_settings_window->show();} {}
|
global_settings_window->show();} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_global_settings_window()} {} {
|
Function {make_global_settings_window()} {} {
|
||||||
Fl_Window global_settings_window {
|
Fl_Window global_settings_window {
|
||||||
@@ -709,10 +709,10 @@ global_settings_window->hide();}
|
|||||||
}
|
}
|
||||||
code {readPrefs();
|
code {readPrefs();
|
||||||
Fl::option(Fl::OPTION_SHOW_TOOLTIPS,1); // make sure tooltips are on !} {}
|
Fl::option(Fl::OPTION_SHOW_TOOLTIPS,1); // make sure tooltips are on !} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
comment {
|
comment {
|
||||||
//
|
//
|
||||||
// End of "$Id$".
|
// End of "$Id$".
|
||||||
//} {in_source in_header
|
//} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|||||||
+21
-21
@@ -40,17 +40,17 @@ Fl_Double_Window *function_panel=(Fl_Double_Window *)0;
|
|||||||
Fl_Choice *f_public_member_choice=(Fl_Choice *)0;
|
Fl_Choice *f_public_member_choice=(Fl_Choice *)0;
|
||||||
|
|
||||||
Fl_Menu_Item menu_f_public_member_choice[] = {
|
Fl_Menu_Item menu_f_public_member_choice[] = {
|
||||||
{"private", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"private", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"public", 0, 0, (void*)(1), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"public", 0, 0, (void*)(1), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"protected", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"protected", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
Fl_Choice *f_public_choice=(Fl_Choice *)0;
|
Fl_Choice *f_public_choice=(Fl_Choice *)0;
|
||||||
|
|
||||||
Fl_Menu_Item menu_f_public_choice[] = {
|
Fl_Menu_Item menu_f_public_choice[] = {
|
||||||
{"local", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"local", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"global", 0, 0, (void*)(1), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"global", 0, 0, (void*)(1), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -256,8 +256,8 @@ Fl_Double_Window *declblock_panel=(Fl_Double_Window *)0;
|
|||||||
Fl_Choice *declblock_public_choice=(Fl_Choice *)0;
|
Fl_Choice *declblock_public_choice=(Fl_Choice *)0;
|
||||||
|
|
||||||
Fl_Menu_Item menu_declblock_public_choice[] = {
|
Fl_Menu_Item menu_declblock_public_choice[] = {
|
||||||
{"in source code only", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"in source code only", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"in header and source", 0, 0, (void*)(1), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"in header and source", 0, 0, (void*)(1), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -337,19 +337,19 @@ Fl_Double_Window *decl_panel=(Fl_Double_Window *)0;
|
|||||||
Fl_Choice *decl_choice=(Fl_Choice *)0;
|
Fl_Choice *decl_choice=(Fl_Choice *)0;
|
||||||
|
|
||||||
Fl_Menu_Item menu_decl_choice[] = {
|
Fl_Menu_Item menu_decl_choice[] = {
|
||||||
{"in source file only", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"in source file only", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"in header file only", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"in header file only", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"\"static\" in source file", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"\"static\" in source file", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"in source and \"extern\" in header", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"in source and \"extern\" in header", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
Fl_Choice *decl_class_choice=(Fl_Choice *)0;
|
Fl_Choice *decl_class_choice=(Fl_Choice *)0;
|
||||||
|
|
||||||
Fl_Menu_Item menu_decl_class_choice[] = {
|
Fl_Menu_Item menu_decl_class_choice[] = {
|
||||||
{"private", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"private", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"public", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"public", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"protected", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"protected", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -430,19 +430,19 @@ Fl_Double_Window *data_panel=(Fl_Double_Window *)0;
|
|||||||
Fl_Choice *data_choice=(Fl_Choice *)0;
|
Fl_Choice *data_choice=(Fl_Choice *)0;
|
||||||
|
|
||||||
Fl_Menu_Item menu_data_choice[] = {
|
Fl_Menu_Item menu_data_choice[] = {
|
||||||
{"in source file only", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"in source file only", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"in header file only", 0, 0, 0, 16, FL_NORMAL_LABEL, 0, 11, 0},
|
{"in header file only", 0, 0, 0, 16, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"\"static\" in source file", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"\"static\" in source file", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"in source and \"extern\" in header", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"in source and \"extern\" in header", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
Fl_Choice *data_class_choice=(Fl_Choice *)0;
|
Fl_Choice *data_class_choice=(Fl_Choice *)0;
|
||||||
|
|
||||||
Fl_Menu_Item menu_data_class_choice[] = {
|
Fl_Menu_Item menu_data_class_choice[] = {
|
||||||
{"private", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"private", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"public", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"public", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"protected", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"protected", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
+34
-34
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
comment {//
|
comment {//
|
||||||
// "$Id$"
|
// "$Id$"
|
||||||
@@ -20,42 +20,42 @@ comment {//
|
|||||||
// http://www.fltk.org/str.php
|
// http://www.fltk.org/str.php
|
||||||
//
|
//
|
||||||
} {in_source in_header
|
} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Pixmap.H>} {private local
|
decl {\#include <FL/Fl_Pixmap.H>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include "Fl_Type.h"} {private local
|
decl {\#include "Fl_Type.h"} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include "undo.h"} {private local
|
decl {\#include "undo.h"} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern class Fl_Pixmap *pixmap[];} {private local
|
decl {extern class Fl_Pixmap *pixmap[];} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern class Fl_Type *Fl_Type_make(const char*);} {private local
|
decl {extern class Fl_Type *Fl_Type_make(const char*);} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern void select_only(Fl_Type*);} {private local
|
decl {extern void select_only(Fl_Type*);} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern void exit_cb(Fl_Widget*, void*);} {private global
|
decl {extern void exit_cb(Fl_Widget*, void*);} {private global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern void toggle_widgetbin_cb(Fl_Widget*, void*);} {private global
|
decl {extern void toggle_widgetbin_cb(Fl_Widget*, void*);} {private global
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {use_tab_navigation(int, Fl_Text_Editor*)} {
|
Function {use_tab_navigation(int, Fl_Text_Editor*)} {
|
||||||
comment {Allow widget navigation on text fields with Tab.} private return_type int
|
comment {Allow widget navigation on text fields with Tab.} private return_type int
|
||||||
} {
|
} {
|
||||||
code {return 0;} {}
|
code {return 0;} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_function_panel()} {} {
|
Function {make_function_panel()} {} {
|
||||||
Fl_Window function_panel {
|
Fl_Window function_panel {
|
||||||
label {Function/Method Properties} open
|
label {Function/Method Properties} open
|
||||||
xywh {557 523 343 232} type Double resizable modal visible
|
xywh {557 523 343 232} type Double hide resizable modal
|
||||||
} {
|
} {
|
||||||
Fl_Group {} {open
|
Fl_Group {} {open
|
||||||
xywh {10 10 270 20}
|
xywh {10 10 270 20}
|
||||||
@@ -131,7 +131,7 @@ Function {make_function_panel()} {} {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_code_panel()} {} {
|
Function {make_code_panel()} {} {
|
||||||
Fl_Window code_panel {
|
Fl_Window code_panel {
|
||||||
@@ -139,8 +139,8 @@ Function {make_code_panel()} {} {
|
|||||||
callback {if (Fl::event()==FL_SHORTCUT && Fl::event_key()==FL_Escape)
|
callback {if (Fl::event()==FL_SHORTCUT && Fl::event_key()==FL_Escape)
|
||||||
return; // ignore Escape
|
return; // ignore Escape
|
||||||
code_panel->hide(); // otherwise hide..} open
|
code_panel->hide(); // otherwise hide..} open
|
||||||
xywh {503 450 540 180} type Double labelsize 11 resizable
|
xywh {503 450 540 180} type Double labelsize 11 hide resizable
|
||||||
code0 {o->size_range(200, 150);} modal visible
|
code0 {o->size_range(200, 150);} modal
|
||||||
} {
|
} {
|
||||||
Fl_Text_Editor code_input {
|
Fl_Text_Editor code_input {
|
||||||
xywh {10 10 520 130} box DOWN_BOX labelsize 11 textfont 4 textsize 11 resizable
|
xywh {10 10 520 130} box DOWN_BOX labelsize 11 textfont 4 textsize 11 resizable
|
||||||
@@ -164,13 +164,13 @@ code_panel->hide(); // otherwise hide..} open
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_codeblock_panel()} {} {
|
Function {make_codeblock_panel()} {} {
|
||||||
Fl_Window codeblock_panel {
|
Fl_Window codeblock_panel {
|
||||||
label {Code Block Properties} open
|
label {Code Block Properties} open
|
||||||
xywh {468 221 300 115} type Double labelsize 11 resizable
|
xywh {468 221 300 115} type Double labelsize 11 hide resizable
|
||||||
code0 {o->size_range(o->w(), o->h(), Fl::w(), o->h());} modal visible
|
code0 {o->size_range(o->w(), o->h(), Fl::w(), o->h());} modal
|
||||||
} {
|
} {
|
||||||
Fl_Input code_before_input {
|
Fl_Input code_before_input {
|
||||||
label {Conditional code block}
|
label {Conditional code block}
|
||||||
@@ -196,13 +196,13 @@ Function {make_codeblock_panel()} {} {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_declblock_panel()} {} {
|
Function {make_declblock_panel()} {} {
|
||||||
Fl_Window declblock_panel {
|
Fl_Window declblock_panel {
|
||||||
label {Declaration Block Properties} open
|
label {Declaration Block Properties} open
|
||||||
xywh {428 215 300 135} type Double labelsize 11 resizable
|
xywh {428 215 300 135} type Double labelsize 11 hide resizable
|
||||||
code0 {o->size_range(o->w(), o->h(), Fl::w(), o->h());} modal visible
|
code0 {o->size_range(o->w(), o->h(), Fl::w(), o->h());} modal
|
||||||
} {
|
} {
|
||||||
Fl_Group {} {open
|
Fl_Group {} {open
|
||||||
xywh {10 10 280 20}
|
xywh {10 10 280 20}
|
||||||
@@ -252,12 +252,12 @@ Function {make_declblock_panel()} {} {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_decl_panel()} {} {
|
Function {make_decl_panel()} {} {
|
||||||
Fl_Window decl_panel {
|
Fl_Window decl_panel {
|
||||||
label {Declaration Properties} open
|
label {Declaration Properties} open
|
||||||
xywh {480 333 343 237} type Double align 80 resizable size_range {343 237 0 0} visible
|
xywh {480 333 343 237} type Double align 80 hide resizable size_range {343 237 0 0}
|
||||||
} {
|
} {
|
||||||
Fl_Group {} {open
|
Fl_Group {} {open
|
||||||
xywh {10 10 270 20}
|
xywh {10 10 270 20}
|
||||||
@@ -328,12 +328,12 @@ Function {make_decl_panel()} {} {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_data_panel()} {} {
|
Function {make_data_panel()} {} {
|
||||||
Fl_Window data_panel {
|
Fl_Window data_panel {
|
||||||
label {Binary Data Properties} open
|
label {Binary Data Properties} open
|
||||||
xywh {595 352 343 237} type Double align 80 resizable size_range {343 237 0 0} visible
|
xywh {595 352 343 237} type Double align 80 hide resizable size_range {343 237 0 0}
|
||||||
} {
|
} {
|
||||||
Fl_Group {} {open
|
Fl_Group {} {open
|
||||||
xywh {10 10 270 20}
|
xywh {10 10 270 20}
|
||||||
@@ -412,13 +412,13 @@ Function {make_data_panel()} {} {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_class_panel()} {open
|
Function {make_class_panel()} {open
|
||||||
} {
|
} {
|
||||||
Fl_Window class_panel {
|
Fl_Window class_panel {
|
||||||
label {Class Properties} open
|
label {Class Properties} open
|
||||||
xywh {497 585 342 196} type Double labelsize 11 resizable modal size_range {343 188 0 0} visible
|
xywh {497 585 342 196} type Double labelsize 11 hide resizable modal size_range {343 188 0 0}
|
||||||
} {
|
} {
|
||||||
Fl_Group {} {open
|
Fl_Group {} {open
|
||||||
xywh {10 10 280 20} hide
|
xywh {10 10 280 20} hide
|
||||||
@@ -461,7 +461,7 @@ Function {make_class_panel()} {open
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_comment_panel()} {} {
|
Function {make_comment_panel()} {} {
|
||||||
Fl_Window comment_panel {
|
Fl_Window comment_panel {
|
||||||
@@ -513,7 +513,7 @@ Function {make_comment_panel()} {} {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {type_make_cb(Fl_Widget*,void*d)} {return_type void
|
Function {type_make_cb(Fl_Widget*,void*d)} {return_type void
|
||||||
} {
|
} {
|
||||||
@@ -527,7 +527,7 @@ Function {type_make_cb(Fl_Widget*,void*d)} {return_type void
|
|||||||
undo_current --;
|
undo_current --;
|
||||||
undo_last --;
|
undo_last --;
|
||||||
}} {}
|
}} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_widgetbin()} {} {
|
Function {make_widgetbin()} {} {
|
||||||
Fl_Window widgetbin_panel {
|
Fl_Window widgetbin_panel {
|
||||||
@@ -883,7 +883,7 @@ else
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_sourceview()} {} {
|
Function {make_sourceview()} {} {
|
||||||
Fl_Window sourceview_panel {
|
Fl_Window sourceview_panel {
|
||||||
@@ -943,10 +943,10 @@ Function {make_sourceview()} {} {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
comment {
|
comment {
|
||||||
//
|
//
|
||||||
// End of "$Id$".
|
// End of "$Id$".
|
||||||
//} {in_source in_header
|
//} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -108,8 +108,8 @@ print_update_status();
|
|||||||
Fl_Choice *print_page_size=(Fl_Choice *)0;
|
Fl_Choice *print_page_size=(Fl_Choice *)0;
|
||||||
|
|
||||||
Fl_Menu_Item menu_print_page_size[] = {
|
Fl_Menu_Item menu_print_page_size[] = {
|
||||||
{"Letter", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"Letter", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{"A4", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
|
{"A4", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
+13
-13
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
comment {//
|
comment {//
|
||||||
// "$Id$"
|
// "$Id$"
|
||||||
@@ -20,22 +20,22 @@ comment {//
|
|||||||
// http://www.fltk.org/str.php
|
// http://www.fltk.org/str.php
|
||||||
//
|
//
|
||||||
} {in_source in_header
|
} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <stdio.h>} {private local
|
decl {\#include <stdio.h>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <stdlib.h>} {private local
|
decl {\#include <stdlib.h>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include "../src/flstring.h"} {private local
|
decl {\#include "../src/flstring.h"} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Preferences.H>} {private local
|
decl {\#include <FL/Fl_Preferences.H>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern Fl_Preferences fluid_prefs;} {private local
|
decl {extern Fl_Preferences fluid_prefs;} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_print_panel()} {open
|
Function {make_print_panel()} {open
|
||||||
} {
|
} {
|
||||||
@@ -277,10 +277,10 @@ print_update_status();}
|
|||||||
xywh {60 95 53 25}
|
xywh {60 95 53 25}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {void print_cb(Fl_Return_Button *, void *);} {public local
|
decl {void print_cb(Fl_Return_Button *, void *);} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {print_load()} {open return_type void
|
Function {print_load()} {open return_type void
|
||||||
} {
|
} {
|
||||||
@@ -328,7 +328,7 @@ if (defname[0]) {
|
|||||||
|
|
||||||
|
|
||||||
print_update_status();} {}
|
print_update_status();} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {print_update_status()} {open return_type void
|
Function {print_update_status()} {open return_type void
|
||||||
} {
|
} {
|
||||||
@@ -357,10 +357,10 @@ print_page_size->value(val);
|
|||||||
snprintf(name, sizeof(name), "%s/output_mode", printer);
|
snprintf(name, sizeof(name), "%s/output_mode", printer);
|
||||||
fluid_prefs.get(name, val, 0);
|
fluid_prefs.get(name, val, 0);
|
||||||
print_output_mode[val]->setonly();} {}
|
print_output_mode[val]->setonly();} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
comment {
|
comment {
|
||||||
//
|
//
|
||||||
// End of "$Id$".
|
// End of "$Id$".
|
||||||
//} {in_source in_header
|
//} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|||||||
+18
-18
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
comment {//
|
comment {//
|
||||||
// "$Id$"
|
// "$Id$"
|
||||||
@@ -20,31 +20,31 @@ comment {//
|
|||||||
// http://www.fltk.org/str.php
|
// http://www.fltk.org/str.php
|
||||||
//
|
//
|
||||||
} {in_source in_header
|
} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <stdio.h>} {private local
|
decl {\#include <stdio.h>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <stdlib.h>} {private local
|
decl {\#include <stdlib.h>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include "../src/flstring.h"} {private local
|
decl {\#include "../src/flstring.h"} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <errno.h>} {private local
|
decl {\#include <errno.h>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/filename.H>} {private local
|
decl {\#include <FL/filename.H>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/fl_ask.H>} {private local
|
decl {\#include <FL/fl_ask.H>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Shared_Image.H>} {private local
|
decl {\#include <FL/Fl_Shared_Image.H>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Preferences.H>} {private local
|
decl {\#include <FL/Fl_Preferences.H>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
declblock {\#if defined(WIN32) && !defined(__CYGWIN__)} {after {\#endif // WIN32 && !__CYGWIN__}
|
declblock {\#if defined(WIN32) && !defined(__CYGWIN__)} {after {\#endif // WIN32 && !__CYGWIN__}
|
||||||
} {
|
} {
|
||||||
@@ -54,10 +54,10 @@ declblock {\#if defined(WIN32) && !defined(__CYGWIN__)} {after {\#endif // WIN32
|
|||||||
}
|
}
|
||||||
decl {\#include <unistd.h>} {private local
|
decl {\#include <unistd.h>} {private local
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern Fl_Preferences fluid_prefs;} {private local
|
decl {extern Fl_Preferences fluid_prefs;} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_template_panel()} {open
|
Function {make_template_panel()} {open
|
||||||
} {
|
} {
|
||||||
@@ -170,7 +170,7 @@ template_panel->hide();}
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {template_clear()} {return_type void
|
Function {template_clear()} {return_type void
|
||||||
} {
|
} {
|
||||||
@@ -183,7 +183,7 @@ for (i = 1; i <= template_browser->size(); i ++) {
|
|||||||
|
|
||||||
template_browser->deselect();
|
template_browser->deselect();
|
||||||
template_browser->clear();} {}
|
template_browser->clear();} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {template_delete_cb(Fl_Button *, void *)} {return_type void
|
Function {template_delete_cb(Fl_Button *, void *)} {return_type void
|
||||||
} {
|
} {
|
||||||
@@ -204,7 +204,7 @@ if (unlink(flfile)) {
|
|||||||
|
|
||||||
template_browser->remove(item);
|
template_browser->remove(item);
|
||||||
template_browser->do_callback();} {}
|
template_browser->do_callback();} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {template_load()} {return_type void
|
Function {template_load()} {return_type void
|
||||||
} {
|
} {
|
||||||
@@ -238,10 +238,10 @@ for (i = 0; i < num_files; i ++) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (num_files > 0) free(files);} {}
|
if (num_files > 0) free(files);} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
comment {
|
comment {
|
||||||
//
|
//
|
||||||
// End of "$Id$".
|
// End of "$Id$".
|
||||||
//} {in_source in_header
|
//} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|||||||
+27
-27
@@ -26,31 +26,31 @@ static void cb_(Fl_Tabs* o, void* v) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Fl_Menu_Item menu_[] = {
|
Fl_Menu_Item menu_[] = {
|
||||||
{" Image Alignment ", 0, 0, (void*)(0xFFFFFFFF), 1, FL_NORMAL_LABEL, 2, 11, 0},
|
{" Image Alignment ", 0, 0, (void*)(0xFFFFFFFF), 1, (uchar)FL_NORMAL_LABEL, 2, 11, 0},
|
||||||
{"image over text", 0, 0, (void*)(FL_ALIGN_IMAGE_OVER_TEXT), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"image over text", 0, 0, (void*)(FL_ALIGN_IMAGE_OVER_TEXT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"text over image", 0, 0, (void*)(FL_ALIGN_TEXT_OVER_IMAGE), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"text over image", 0, 0, (void*)(FL_ALIGN_TEXT_OVER_IMAGE), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"text next to image", 0, 0, (void*)(FL_ALIGN_TEXT_NEXT_TO_IMAGE), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"text next to image", 0, 0, (void*)(FL_ALIGN_TEXT_NEXT_TO_IMAGE), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"image next to text", 0, 0, (void*)(FL_ALIGN_IMAGE_NEXT_TO_TEXT), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"image next to text", 0, 0, (void*)(FL_ALIGN_IMAGE_NEXT_TO_TEXT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"image is backdrop", 0, 0, (void*)(FL_ALIGN_IMAGE_BACKDROP), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"image is backdrop", 0, 0, (void*)(FL_ALIGN_IMAGE_BACKDROP), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
Fl_Menu_Item menu_1[] = {
|
Fl_Menu_Item menu_1[] = {
|
||||||
{" Inside && Outside ", 0, 0, (void*)(0xFFFFFFFF), 1, FL_NORMAL_LABEL, 2, 11, 0},
|
{" Inside && Outside ", 0, 0, (void*)(0xFFFFFFFF), 1, (uchar)FL_NORMAL_LABEL, 2, 11, 0},
|
||||||
{"top left", 0, 0, (void*)(FL_ALIGN_TOP_LEFT), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"top left", 0, 0, (void*)(FL_ALIGN_TOP_LEFT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"top", 0, 0, (void*)(FL_ALIGN_TOP), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"top", 0, 0, (void*)(FL_ALIGN_TOP), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"top right", 0, 0, (void*)(FL_ALIGN_TOP_RIGHT), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"top right", 0, 0, (void*)(FL_ALIGN_TOP_RIGHT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"left", 0, 0, (void*)(FL_ALIGN_LEFT), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"left", 0, 0, (void*)(FL_ALIGN_LEFT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"center", 0, 0, (void*)(FL_ALIGN_CENTER), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"center", 0, 0, (void*)(FL_ALIGN_CENTER), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"right", 0, 0, (void*)(FL_ALIGN_RIGHT), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"right", 0, 0, (void*)(FL_ALIGN_RIGHT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"bottom left", 0, 0, (void*)(FL_ALIGN_BOTTOM_LEFT), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"bottom left", 0, 0, (void*)(FL_ALIGN_BOTTOM_LEFT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"bottom", 0, 0, (void*)(FL_ALIGN_BOTTOM), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"bottom", 0, 0, (void*)(FL_ALIGN_BOTTOM), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"bottom right", 0, 0, (void*)(FL_ALIGN_BOTTOM_RIGHT), 128, FL_NORMAL_LABEL, 0, 11, 0},
|
{"bottom right", 0, 0, (void*)(FL_ALIGN_BOTTOM_RIGHT), 128, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{" Outside Alignment ", 0, 0, (void*)(0xFFFFFFFF), 1, FL_NORMAL_LABEL, 2, 11, 0},
|
{" Outside Alignment ", 0, 0, (void*)(0xFFFFFFFF), 1, (uchar)FL_NORMAL_LABEL, 2, 11, 0},
|
||||||
{"left top", 0, 0, (void*)(FL_ALIGN_LEFT_TOP), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"left top", 0, 0, (void*)(FL_ALIGN_LEFT_TOP), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"right top", 0, 0, (void*)(FL_ALIGN_RIGHT_TOP), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"right top", 0, 0, (void*)(FL_ALIGN_RIGHT_TOP), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"left bottom", 0, 0, (void*)(FL_ALIGN_LEFT_BOTTOM), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"left bottom", 0, 0, (void*)(FL_ALIGN_LEFT_BOTTOM), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"right bottom", 0, 0, (void*)(FL_ALIGN_RIGHT_BOTTOM), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"right bottom", 0, 0, (void*)(FL_ALIGN_RIGHT_BOTTOM), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -63,15 +63,15 @@ Fl_Value_Input *widget_w_input=(Fl_Value_Input *)0;
|
|||||||
Fl_Value_Input *widget_h_input=(Fl_Value_Input *)0;
|
Fl_Value_Input *widget_h_input=(Fl_Value_Input *)0;
|
||||||
|
|
||||||
Fl_Menu_Item menu_2[] = {
|
Fl_Menu_Item menu_2[] = {
|
||||||
{"private", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"private", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"public", 0, 0, (void*)(1), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"public", 0, 0, (void*)(1), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"protected", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"protected", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
Fl_Menu_Item menu_3[] = {
|
Fl_Menu_Item menu_3[] = {
|
||||||
{"local", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"local", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{"global", 0, 0, (void*)(1), 0, FL_NORMAL_LABEL, 0, 11, 0},
|
{"global", 0, 0, (void*)(1), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -95,7 +95,7 @@ Fl_Double_Window* make_widget_panel() {
|
|||||||
Fl_Double_Window* w;
|
Fl_Double_Window* w;
|
||||||
{ // Use a Double Window to avoid flickering.
|
{ // Use a Double Window to avoid flickering.
|
||||||
Fl_Double_Window* o = new Fl_Double_Window(420, 400);
|
Fl_Double_Window* o = new Fl_Double_Window(420, 400);
|
||||||
w = o;
|
w = o; if (w) {/* empty */}
|
||||||
o->labelsize(11);
|
o->labelsize(11);
|
||||||
o->align(Fl_Align(FL_ALIGN_CLIP|FL_ALIGN_INSIDE));
|
o->align(Fl_Align(FL_ALIGN_CLIP|FL_ALIGN_INSIDE));
|
||||||
o->hotspot(o);
|
o->hotspot(o);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
comment {//
|
comment {//
|
||||||
// "$Id$"
|
// "$Id$"
|
||||||
@@ -20,18 +20,18 @@ comment {//
|
|||||||
// http://www.fltk.org/str.php
|
// http://www.fltk.org/str.php
|
||||||
//
|
//
|
||||||
} {in_source in_header
|
} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {extern void comment_cb(Fl_Text_Editor*, void*);} {private global
|
decl {extern void comment_cb(Fl_Text_Editor*, void*);} {private global
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {make_widget_panel()} {
|
Function {make_widget_panel()} {
|
||||||
comment {Create a panel that can be used with all known widgets} open
|
comment {Create a panel that can be used with all known widgets} open
|
||||||
} {
|
} {
|
||||||
Fl_Window {} {
|
Fl_Window {} {
|
||||||
comment {Use a Double Window to avoid flickering.} open
|
comment {Use a Double Window to avoid flickering.} open
|
||||||
xywh {468 187 420 400} type Double labelsize 11 align 80 resizable hotspot
|
xywh {468 187 420 400} type Double labelsize 11 align 80 hide resizable hotspot
|
||||||
code0 {o->size_range(o->w(), o->h());} size_range {420 400 0 0} visible
|
code0 {o->size_range(o->w(), o->h());} size_range {420 400 0 0}
|
||||||
} {
|
} {
|
||||||
Fl_Tabs {} {
|
Fl_Tabs {} {
|
||||||
callback {propagate_load((Fl_Group *)o,v);} open
|
callback {propagate_load((Fl_Group *)o,v);} open
|
||||||
@@ -698,10 +698,10 @@ wCallback->do_callback(wCallback, v);} open
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
comment {
|
comment {
|
||||||
//
|
//
|
||||||
// End of "$Id$".
|
// End of "$Id$".
|
||||||
//} {in_source in_header
|
//} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0300
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
Function {make_window()} {open
|
Function {make_window()} {open
|
||||||
} {
|
} {
|
||||||
Fl_Window {} {open selected
|
Fl_Window {} {open selected
|
||||||
xywh {550 77 300 160} type Double visible
|
xywh {550 77 300 160} type Double hide
|
||||||
} {
|
} {
|
||||||
Fl_Box {} {
|
Fl_Box {} {
|
||||||
label {Welcome to FLTK!}
|
label {Welcome to FLTK!}
|
||||||
xywh {50 25 200 100} box GTK_ROUND_UP_BOX color 50 labelsize 20
|
xywh {50 25 200 100} box GTK_ROUND_UP_BOX color 50 labelsize 20
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+10
-10
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {../FL/Fl_File_Chooser.H}
|
header_name {../FL/Fl_File_Chooser.H}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
comment {//
|
comment {//
|
||||||
// "$Id$"
|
// "$Id$"
|
||||||
@@ -27,10 +27,10 @@ comment {//
|
|||||||
// ========================================================================
|
// ========================================================================
|
||||||
//
|
//
|
||||||
} {in_source in_header
|
} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/fl_draw.H>} {private local
|
decl {\#include <FL/fl_draw.H>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
class FL_EXPORT Fl_File_Chooser {open
|
class FL_EXPORT Fl_File_Chooser {open
|
||||||
} {
|
} {
|
||||||
@@ -474,22 +474,22 @@ window->resizable(svres);} {}
|
|||||||
}
|
}
|
||||||
code {return ret;} {}
|
code {return ret;} {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {FL_EXPORT char *fl_dir_chooser(const char *message,const char *fname,int relative=0);} {public local
|
decl {FL_EXPORT char *fl_dir_chooser(const char *message,const char *fname,int relative=0);} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {FL_EXPORT char *fl_file_chooser(const char *message,const char *pat,const char *fname,int relative=0);} {public local
|
decl {FL_EXPORT char *fl_file_chooser(const char *message,const char *pat,const char *fname,int relative=0);} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {FL_EXPORT void fl_file_chooser_callback(void (*cb)(const char*));} {public local
|
decl {FL_EXPORT void fl_file_chooser_callback(void (*cb)(const char*));} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {FL_EXPORT void fl_file_chooser_ok_label(const char*l);} {public local
|
decl {FL_EXPORT void fl_file_chooser_ok_label(const char*l);} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
comment {
|
comment {
|
||||||
//
|
//
|
||||||
// End of "$Id$".
|
// End of "$Id$".
|
||||||
//} {in_source in_header
|
//} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {../FL/Fl_Help_Dialog.H}
|
header_name {../FL/Fl_Help_Dialog.H}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
comment {//
|
comment {//
|
||||||
// "$Id$"
|
// "$Id$"
|
||||||
@@ -27,13 +27,13 @@ comment {//
|
|||||||
// ========================================================================
|
// ========================================================================
|
||||||
//
|
//
|
||||||
} {in_source in_header
|
} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include "flstring.h"} {private local
|
decl {\#include "flstring.h"} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/fl_ask.H>} {private local
|
decl {\#include <FL/fl_ask.H>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
class FL_EXPORT Fl_Help_Dialog {open
|
class FL_EXPORT Fl_Help_Dialog {open
|
||||||
} {
|
} {
|
||||||
@@ -261,10 +261,10 @@ window_->label(view_->title());} {}
|
|||||||
} {
|
} {
|
||||||
code {return (window_->y());} {}
|
code {return (window_->y());} {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
comment {
|
comment {
|
||||||
//
|
//
|
||||||
// End of "$Id$".
|
// End of "$Id$".
|
||||||
//} {in_source in_header
|
//} {in_source in_header
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
class CubeViewUI {open
|
class CubeViewUI {open
|
||||||
} {
|
} {
|
||||||
@@ -72,4 +72,4 @@ cube->redraw();}
|
|||||||
} {
|
} {
|
||||||
code {mainWindow->show(argc, argv);} {}
|
code {mainWindow->show(argc, argv);} {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
Function {} {open
|
Function {} {open
|
||||||
} {
|
} {
|
||||||
@@ -34,4 +34,4 @@ The right slider (representing a widget with high overhead) is only updated when
|
|||||||
xywh {10 10 300 180} box DOWN_BOX color 53 selection_color 47 labelfont 4 labelsize 12 align 148
|
xywh {10 10 300 180} box DOWN_BOX color 53 selection_color 47 labelfont 4 labelsize 12 align 148
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
Function {} {open
|
Function {} {open
|
||||||
} {
|
} {
|
||||||
@@ -117,4 +117,4 @@ Function {} {open
|
|||||||
xywh {220 330 180 25} type Radio
|
xywh {220 330 180 25} type Radio
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
Function {make_window()} {open
|
Function {make_window()} {open
|
||||||
} {
|
} {
|
||||||
@@ -715,4 +715,4 @@ Function {make_window()} {open
|
|||||||
xywh {460 70 20 20} box ROUND_UP_BOX selection_color 49 labelsize 9 align 5 step 0.1
|
xywh {460 70 20 20} box ROUND_UP_BOX selection_color 49 labelsize 9 align 5 step 0.1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
decl {\#include "mandelbrot.h"} {public local
|
decl {\#include "mandelbrot.h"} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <stdlib.h>} {private local
|
decl {\#include <stdlib.h>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
class Drawing_Window {open
|
class Drawing_Window {open
|
||||||
} {
|
} {
|
||||||
@@ -69,4 +69,4 @@ d->new_display();}
|
|||||||
}
|
}
|
||||||
decl {void update_label();} {public local
|
decl {void update_label();} {public local
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+16
-16
@@ -1,44 +1,44 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
decl {\#include <FL/Fl_Preferences.H>} {public local
|
decl {\#include <FL/Fl_Preferences.H>} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <stdio.h>} {public local
|
decl {\#include <stdio.h>} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <stdlib.h>} {private local
|
decl {\#include <stdlib.h>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/filename.H>} {private local
|
decl {\#include <FL/filename.H>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/fl_ask.H>} {private local
|
decl {\#include <FL/fl_ask.H>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {void readPrefs();} {public local
|
decl {void readPrefs();} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {void writePrefs();} {public local
|
decl {void writePrefs();} {public local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {const char *project = "fltk.org";} {private local
|
decl {const char *project = "fltk.org";} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {const char *application = "test/preferences";} {private local
|
decl {const char *application = "test/preferences";} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {closeWindowCB( Fl_Widget*, void* )} {open private return_type void
|
Function {closeWindowCB( Fl_Widget*, void* )} {open private return_type void
|
||||||
} {
|
} {
|
||||||
code {Fl::delete_widget(myWindow);} {}
|
code {Fl::delete_widget(myWindow);} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {saveAndCloseWindowCB( Fl_Widget*, void* )} {open private return_type void
|
Function {saveAndCloseWindowCB( Fl_Widget*, void* )} {open private return_type void
|
||||||
} {
|
} {
|
||||||
code {writePrefs();
|
code {writePrefs();
|
||||||
Fl::delete_widget(myWindow);} {}
|
Fl::delete_widget(myWindow);} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {} {open return_type int
|
Function {} {open return_type int
|
||||||
} {
|
} {
|
||||||
@@ -192,7 +192,7 @@ Function {} {open return_type int
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
code {readPrefs();} {}
|
code {readPrefs();} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {readPrefs()} {open return_type void
|
Function {readPrefs()} {open return_type void
|
||||||
} {
|
} {
|
||||||
@@ -270,7 +270,7 @@ Fl_Preferences app( Fl_Preferences::USER, project, application );
|
|||||||
eat.get( "binFoo2", data, 0, 0 );
|
eat.get( "binFoo2", data, 0, 0 );
|
||||||
**/} {selected
|
**/} {selected
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {writePrefs()} {open return_type void
|
Function {writePrefs()} {open return_type void
|
||||||
} {
|
} {
|
||||||
@@ -331,4 +331,4 @@ Function {writePrefs()} {open return_type void
|
|||||||
unsigned int hex = 0x2387efcd;
|
unsigned int hex = 0x2387efcd;
|
||||||
eat.set( "binFoo", (void*)&hex, sizeof( unsigned int ) );
|
eat.set( "binFoo", (void*)&hex, sizeof( unsigned int ) );
|
||||||
eat.set( "binFoo2", (void*)&bed, 256 );} {}
|
eat.set( "binFoo2", (void*)&bed, 256 );} {}
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-4
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
Function {button_cb(Fl_Button *b, void *)} {
|
Function {button_cb(Fl_Button *b, void *)} {
|
||||||
comment {Buttons test callback} open private return_type void
|
comment {Buttons test callback} open private return_type void
|
||||||
@@ -11,7 +11,7 @@ cb_info->value(msg);
|
|||||||
cb_info->redraw();
|
cb_info->redraw();
|
||||||
printf("%s\\n",msg);} {selected
|
printf("%s\\n",msg);} {selected
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {} {open
|
Function {} {open
|
||||||
} {
|
} {
|
||||||
@@ -97,4 +97,4 @@ Function {} {open
|
|||||||
xywh {190 148 170 62} type Multiline align 133 textsize 12
|
xywh {190 148 170 62} type Multiline align 133 textsize 12
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
Function {} {open
|
Function {} {open
|
||||||
} {
|
} {
|
||||||
@@ -48,4 +48,4 @@ w->size(w->w()-20, w->h()-20);}
|
|||||||
xywh {150 10 160 220} box BORDER_BOX align 148
|
xywh {150 10 160 220} box BORDER_BOX align 148
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
Function {} {open
|
Function {} {open
|
||||||
} {
|
} {
|
||||||
@@ -286,4 +286,4 @@ wWizard->value(wWizard->child(last));}
|
|||||||
code0 {\#include <stdlib.h>}
|
code0 {\#include <stdlib.h>}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+27
-27
@@ -1,46 +1,46 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
decl {\#include <stdio.h>} {public global
|
decl {\#include <stdio.h>} {public global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl.H>} {public global
|
decl {\#include <FL/Fl.H>} {public global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Tooltip.H>} {public global
|
decl {\#include <FL/Fl_Tooltip.H>} {public global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Pixmap.H>} {public global
|
decl {\#include <FL/Fl_Pixmap.H>} {public global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Group.H>} {public global
|
decl {\#include <FL/Fl_Group.H>} {public global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Tree.H>} {public global
|
decl {\#include <FL/Fl_Tree.H>} {public global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/fl_ask.H>} {public global
|
decl {\#include <FL/fl_ask.H>} {public global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/fl_message.H>} {public global
|
decl {\#include <FL/fl_message.H>} {public global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_File_Chooser.H>} {public global
|
decl {\#include <FL/Fl_File_Chooser.H>} {public global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Preferences.H>} {public global
|
decl {\#include <FL/Fl_Preferences.H>} {public global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Color_Chooser.H>} {public global
|
decl {\#include <FL/Fl_Color_Chooser.H>} {public global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {\#include <FL/Fl_Text_Display.H>} {public global
|
decl {\#include <FL/Fl_Text_Display.H>} {public global
|
||||||
}
|
}
|
||||||
|
|
||||||
decl {int G_cb_counter = 0;} {
|
decl {int G_cb_counter = 0;} {
|
||||||
comment {// Global callback event counter} private local
|
comment {// Global callback event counter} private local
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {reason_as_name(Fl_Tree_Reason reason)} {
|
Function {reason_as_name(Fl_Tree_Reason reason)} {
|
||||||
comment {Return an Fl_Tree_Reason as a text string name} return_type {const char*}
|
comment {Return an Fl_Tree_Reason as a text string name} return_type {const char*}
|
||||||
@@ -57,7 +57,7 @@ Function {reason_as_name(Fl_Tree_Reason reason)} {
|
|||||||
\#endif
|
\#endif
|
||||||
default: return("???");
|
default: return("???");
|
||||||
}} {}
|
}} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {Button_CB(Fl_Widget*w, void*data)} {open return_type void
|
Function {Button_CB(Fl_Widget*w, void*data)} {open return_type void
|
||||||
} {
|
} {
|
||||||
@@ -77,7 +77,7 @@ if ( height > 50 ) height = 20;
|
|||||||
cw->resize(cw->x(), cw->y(), cw->w(), height);
|
cw->resize(cw->x(), cw->y(), cw->w(), height);
|
||||||
tree->redraw(); // adjusted height
|
tree->redraw(); // adjusted height
|
||||||
fprintf(stderr, "'%s' button pushed (height=%d)\\n", w->label(), height);} {}
|
fprintf(stderr, "'%s' button pushed (height=%d)\\n", w->label(), height);} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {AssignUserIcons()} {
|
Function {AssignUserIcons()} {
|
||||||
comment {Assign user icons to the items} open
|
comment {Assign user icons to the items} open
|
||||||
@@ -128,7 +128,7 @@ for ( Fl_Tree_Item *item = tree->first(); item; item=item->next())
|
|||||||
item->usericon(0);
|
item->usericon(0);
|
||||||
|
|
||||||
tree->redraw();} {}
|
tree->redraw();} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {RebuildTree()} {
|
Function {RebuildTree()} {
|
||||||
comment {Rebuild the 'example tree' from scratch} open
|
comment {Rebuild the 'example tree' from scratch} open
|
||||||
@@ -255,7 +255,7 @@ tree->close("500 Items"); // close the 500 items by default
|
|||||||
AssignUserIcons();
|
AssignUserIcons();
|
||||||
|
|
||||||
tree->redraw();} {}
|
tree->redraw();} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {EditColor(Fl_Color &val)} {
|
Function {EditColor(Fl_Color &val)} {
|
||||||
comment {Prompt the user to change the specified color} return_type Fl_Color
|
comment {Prompt the user to change the specified color} return_type Fl_Color
|
||||||
@@ -276,7 +276,7 @@ val = fl_rgb_color(r,g,b);
|
|||||||
|
|
||||||
|
|
||||||
return(ret);} {}
|
return(ret);} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {UpdateColorChips()} {
|
Function {UpdateColorChips()} {
|
||||||
comment {Updates the color chips with current colors from widget} open return_type void
|
comment {Updates the color chips with current colors from widget} open return_type void
|
||||||
@@ -292,7 +292,7 @@ all_labelfgcolor_button->color(tree->item_labelfgcolor()); // use default
|
|||||||
all_labelbgcolor_button->color(tree->item_labelbgcolor()); // use default
|
all_labelbgcolor_button->color(tree->item_labelbgcolor()); // use default
|
||||||
|
|
||||||
window->redraw();} {}
|
window->redraw();} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {GetTreeMarginBottom()} {
|
Function {GetTreeMarginBottom()} {
|
||||||
comment {Get the current 'margin bottom' size
|
comment {Get the current 'margin bottom' size
|
||||||
@@ -303,7 +303,7 @@ return tree->marginbottom();
|
|||||||
\#else
|
\#else
|
||||||
return 0;
|
return 0;
|
||||||
\#endif} {}
|
\#endif} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {GetTreeWidgetMarginLeft()} {
|
Function {GetTreeWidgetMarginLeft()} {
|
||||||
comment {Get the current 'margin bottom' size
|
comment {Get the current 'margin bottom' size
|
||||||
@@ -314,7 +314,7 @@ return tree->widgetmarginleft();
|
|||||||
\#else
|
\#else
|
||||||
return 0;
|
return 0;
|
||||||
\#endif} {}
|
\#endif} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {GetSelectedItemFGColor()} {
|
Function {GetSelectedItemFGColor()} {
|
||||||
comment {Return the selected item's fg color} open return_type Fl_Color
|
comment {Return the selected item's fg color} open return_type Fl_Color
|
||||||
@@ -327,7 +327,7 @@ for ( item=tree->first(); item; item = tree->next(item) ) {
|
|||||||
}
|
}
|
||||||
// No items selected? Use default
|
// No items selected? Use default
|
||||||
return(tree->item_labelfgcolor());} {}
|
return(tree->item_labelfgcolor());} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {GetSelectedItemBGColor()} {
|
Function {GetSelectedItemBGColor()} {
|
||||||
comment {Return the selected item's bg color} open return_type Fl_Color
|
comment {Return the selected item's bg color} open return_type Fl_Color
|
||||||
@@ -340,13 +340,13 @@ for ( item=tree->first(); item; item = tree->next(item) ) {
|
|||||||
}
|
}
|
||||||
// No items selected? Use default
|
// No items selected? Use default
|
||||||
return(tree->item_labelbgcolor());} {}
|
return(tree->item_labelbgcolor());} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {} {open
|
Function {} {open
|
||||||
} {
|
} {
|
||||||
Fl_Window window {
|
Fl_Window window {
|
||||||
label tree open
|
label tree open
|
||||||
xywh {600 253 1045 580} type Double visible
|
xywh {600 253 1045 580} type Double hide
|
||||||
} {
|
} {
|
||||||
Fl_Group tree {
|
Fl_Group tree {
|
||||||
label Tree
|
label Tree
|
||||||
@@ -1782,4 +1782,4 @@ window->size_range(window->w(), window->h(), 0, 0);
|
|||||||
if ( tree->when() == FL_WHEN_CHANGED ) whenmode_chooser->value(0);
|
if ( tree->when() == FL_WHEN_CHANGED ) whenmode_chooser->value(0);
|
||||||
else if ( tree->when() == FL_WHEN_RELEASE ) whenmode_chooser->value(1);
|
else if ( tree->when() == FL_WHEN_RELEASE ) whenmode_chooser->value(1);
|
||||||
else if ( tree->when() == FL_WHEN_NEVER ) whenmode_chooser->value(2);} {}
|
else if ( tree->when() == FL_WHEN_NEVER ) whenmode_chooser->value(2);} {}
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-4
@@ -1,12 +1,12 @@
|
|||||||
# data file for the Fltk User Interface Designer (fluid)
|
# data file for the Fltk User Interface Designer (fluid)
|
||||||
version 1.0304
|
version 1.0304
|
||||||
header_name {.h}
|
header_name {.h}
|
||||||
code_name {.cxx}
|
code_name {.cxx}
|
||||||
Function {callback(Fl_Widget* o, void*)} {open private return_type void
|
Function {callback(Fl_Widget* o, void*)} {open private return_type void
|
||||||
} {
|
} {
|
||||||
code {printf("%g \\r", ((Fl_Valuator*)o)->value());
|
code {printf("%g \\r", ((Fl_Valuator*)o)->value());
|
||||||
fflush(stdout);} {}
|
fflush(stdout);} {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function {} {open
|
Function {} {open
|
||||||
} {
|
} {
|
||||||
@@ -195,4 +195,4 @@ Function {} {open
|
|||||||
xywh {460 385 110 115} box BORDER_FRAME color 0 selection_color 0 labelsize 11 align 128
|
xywh {460 385 110 115} box BORDER_FRAME color 0 selection_color 0 labelsize 11 align 128
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user