mirror of
https://github.com/fltk/fltk.git
synced 2026-05-27 19:10:24 +08:00
Update fluid files and generated files
fluid/widget_panel.cxx: apply previous fluid fix
This commit is contained in:
@@ -36,8 +36,8 @@ if (!cbuf[0]) {
|
|||||||
}} {}
|
}} {}
|
||||||
Fl_Window about_panel {
|
Fl_Window about_panel {
|
||||||
label {About FLUID} open
|
label {About FLUID} open
|
||||||
xywh {449 217 345 180} type Double color 50 selection_color 47 hotspot
|
xywh {449 217 345 180} type Double color 50 selection_color 47 hide hotspot
|
||||||
code0 {\#include "../src/flstring.h"} non_modal visible
|
code0 {\#include "../src/flstring.h"} non_modal
|
||||||
} {
|
} {
|
||||||
Fl_Box {} {
|
Fl_Box {} {
|
||||||
image {icons/fluid-96.xpm} xywh {10 10 115 120}
|
image {icons/fluid-96.xpm} xywh {10 10 115 120}
|
||||||
|
|||||||
@@ -54,9 +54,9 @@ Function {make_project_window()} {open
|
|||||||
} {
|
} {
|
||||||
Fl_Window project_window {
|
Fl_Window project_window {
|
||||||
label {Project Settings} open
|
label {Project Settings} open
|
||||||
xywh {472 246 399 298} type Double
|
xywh {472 246 399 298} type Double hide
|
||||||
code0 {\#include <FL/Fl_Preferences.H>}
|
code0 {\#include <FL/Fl_Preferences.H>}
|
||||||
code1 {\#include <FL/Fl_Tooltip.H>} modal visible
|
code1 {\#include <FL/Fl_Tooltip.H>} modal
|
||||||
} {
|
} {
|
||||||
Fl_Button {} {
|
Fl_Button {} {
|
||||||
label Close
|
label Close
|
||||||
@@ -175,8 +175,8 @@ Function {make_settings_window()} {open
|
|||||||
} {
|
} {
|
||||||
Fl_Window settings_window {
|
Fl_Window settings_window {
|
||||||
label {GUI Settings}
|
label {GUI Settings}
|
||||||
xywh {442 538 360 355} type Double resizable
|
xywh {442 538 360 355} type Double hide resizable
|
||||||
code0 {o->size_range(o->w(), o->h());} non_modal visible
|
code0 {o->size_range(o->w(), o->h());} non_modal
|
||||||
} {
|
} {
|
||||||
Fl_Choice scheme_choice {
|
Fl_Choice scheme_choice {
|
||||||
label {Scheme: }
|
label {Scheme: }
|
||||||
@@ -309,7 +309,7 @@ Function {make_shell_window()} {open
|
|||||||
} {
|
} {
|
||||||
Fl_Window shell_window {
|
Fl_Window shell_window {
|
||||||
label {Shell Command} open
|
label {Shell Command} open
|
||||||
xywh {544 751 365 200} type Double modal size_range {365 200 365 200} visible
|
xywh {544 751 365 200} type Double hide modal size_range {365 200 365 200}
|
||||||
} {
|
} {
|
||||||
Fl_Group {} {open
|
Fl_Group {} {open
|
||||||
xywh {0 0 365 165}
|
xywh {0 0 365 165}
|
||||||
@@ -381,7 +381,7 @@ shell_window->hide();}
|
|||||||
}
|
}
|
||||||
Fl_Window shell_run_window {
|
Fl_Window shell_run_window {
|
||||||
label {Shell Command Output}
|
label {Shell Command Output}
|
||||||
xywh {887 409 555 430} type Double resizable visible
|
xywh {887 409 555 430} type Double hide resizable
|
||||||
} {
|
} {
|
||||||
Fl_Simple_Terminal shell_run_terminal {
|
Fl_Simple_Terminal shell_run_terminal {
|
||||||
xywh {10 10 535 375} resizable
|
xywh {10 10 535 375} resizable
|
||||||
@@ -403,7 +403,7 @@ Function {make_layout_window()} {open
|
|||||||
} {
|
} {
|
||||||
Fl_Window grid_window {
|
Fl_Window grid_window {
|
||||||
label {Layout Settings}
|
label {Layout Settings}
|
||||||
xywh {745 303 310 245} type Double non_modal visible
|
xywh {745 303 310 245} type Double hide non_modal
|
||||||
} {
|
} {
|
||||||
Fl_Input horizontal_input {
|
Fl_Input horizontal_input {
|
||||||
label x
|
label x
|
||||||
|
|||||||
+11
-11
@@ -51,7 +51,7 @@ Function {make_function_panel()} {open
|
|||||||
} {
|
} {
|
||||||
Fl_Window function_panel {
|
Fl_Window function_panel {
|
||||||
label {Function/Method Properties} open
|
label {Function/Method Properties} open
|
||||||
xywh {101 713 343 232} type Double resizable modal visible
|
xywh {101 713 343 232} type Double hide resizable modal
|
||||||
} {
|
} {
|
||||||
Fl_Group {} {open
|
Fl_Group {} {open
|
||||||
xywh {10 10 270 20}
|
xywh {10 10 270 20}
|
||||||
@@ -136,8 +136,8 @@ Function {make_code_panel()} {open
|
|||||||
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..}
|
code_panel->hide(); // otherwise hide..}
|
||||||
xywh {425 882 540 180} type Double labelsize 11 resizable
|
xywh {425 882 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
|
||||||
@@ -170,8 +170,8 @@ Function {make_codeblock_panel()} {open
|
|||||||
} {
|
} {
|
||||||
Fl_Window codeblock_panel {
|
Fl_Window codeblock_panel {
|
||||||
label {Code Block Properties}
|
label {Code Block Properties}
|
||||||
xywh {806 735 300 115} type Double labelsize 11 resizable
|
xywh {806 735 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}
|
||||||
@@ -203,8 +203,8 @@ Function {make_declblock_panel()} {open
|
|||||||
} {
|
} {
|
||||||
Fl_Window declblock_panel {
|
Fl_Window declblock_panel {
|
||||||
label {Declaration Block Properties}
|
label {Declaration Block Properties}
|
||||||
xywh {806 564 300 135} type Double labelsize 11 resizable
|
xywh {806 564 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}
|
||||||
@@ -260,7 +260,7 @@ Function {make_decl_panel()} {open
|
|||||||
} {
|
} {
|
||||||
Fl_Window decl_panel {
|
Fl_Window decl_panel {
|
||||||
label {Declaration Properties}
|
label {Declaration Properties}
|
||||||
xywh {445 609 343 237} type Double align 80 resizable size_range {343 237 0 0} visible
|
xywh {445 609 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}
|
||||||
@@ -337,7 +337,7 @@ Function {make_data_panel()} {open
|
|||||||
} {
|
} {
|
||||||
Fl_Window data_panel {
|
Fl_Window data_panel {
|
||||||
label {Inline Data Properties}
|
label {Inline Data Properties}
|
||||||
xywh {449 337 343 237} type Double align 80 resizable size_range {343 237 0 0} visible
|
xywh {449 337 343 237} type Double align 80 hide resizable size_range {343 237 0 0}
|
||||||
} {
|
} {
|
||||||
Fl_Group {} {open
|
Fl_Group {} {open
|
||||||
xywh {10 10 320 20}
|
xywh {10 10 320 20}
|
||||||
@@ -426,7 +426,7 @@ Function {make_class_panel()} {open
|
|||||||
} {
|
} {
|
||||||
Fl_Window class_panel {
|
Fl_Window class_panel {
|
||||||
label {Class Properties}
|
label {Class Properties}
|
||||||
xywh {795 337 342 196} type Double labelsize 11 resizable modal size_range {343 188 0 0} visible
|
xywh {795 337 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
|
||||||
@@ -541,7 +541,7 @@ Function {make_widgetbin()} {open
|
|||||||
exit_cb((Fl_Widget*)o, v);
|
exit_cb((Fl_Widget*)o, v);
|
||||||
else
|
else
|
||||||
toggle_widgetbin_cb((Fl_Widget*)o, v);} open
|
toggle_widgetbin_cb((Fl_Widget*)o, v);} open
|
||||||
xywh {449 206 600 102} type Single align 80 non_modal visible
|
xywh {449 206 600 102} type Single align 80 hide non_modal
|
||||||
} {
|
} {
|
||||||
Fl_Group {} {
|
Fl_Group {} {
|
||||||
label Code open
|
label Code open
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ Function {make_print_panel()} {open
|
|||||||
} {
|
} {
|
||||||
Fl_Window print_panel {
|
Fl_Window print_panel {
|
||||||
label Print
|
label Print
|
||||||
xywh {465 222 465 235} type Double modal visible
|
xywh {465 222 465 235} type Double hide modal
|
||||||
} {
|
} {
|
||||||
Fl_Group print_panel_controls {open
|
Fl_Group print_panel_controls {open
|
||||||
xywh {10 10 447 216}
|
xywh {10 10 447 216}
|
||||||
@@ -213,7 +213,7 @@ print_collate_group[1 - i]->hide();}
|
|||||||
label {Printer Properties}
|
label {Printer Properties}
|
||||||
callback {print_properties_panel->hide();
|
callback {print_properties_panel->hide();
|
||||||
print_update_status();}
|
print_update_status();}
|
||||||
xywh {462 486 290 130} type Double modal visible
|
xywh {462 486 290 130} type Double hide modal
|
||||||
} {
|
} {
|
||||||
Fl_Choice print_page_size {
|
Fl_Choice print_page_size {
|
||||||
label {Page Size:}
|
label {Page Size:}
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ template_browser->deselect();
|
|||||||
template_name->value("");
|
template_name->value("");
|
||||||
template_instance->value("");
|
template_instance->value("");
|
||||||
template_panel->hide();}
|
template_panel->hide();}
|
||||||
xywh {455 202 460 355} type Double resizable modal visible
|
xywh {455 202 460 355} type Double hide resizable modal
|
||||||
} {
|
} {
|
||||||
Fl_Browser template_browser {
|
Fl_Browser template_browser {
|
||||||
label {Available Templates:}
|
label {Available Templates:}
|
||||||
|
|||||||
@@ -93,7 +93,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; if (w) {/* empty */}
|
w = o; (void)w;
|
||||||
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);
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ Function {make_widget_panel()} {
|
|||||||
} {
|
} {
|
||||||
Fl_Window {} {
|
Fl_Window {} {
|
||||||
comment {Use a Double Window to avoid flickering.} open
|
comment {Use a Double Window to avoid flickering.} open
|
||||||
xywh {500 209 420 400} type Double labelsize 11 align 80 resizable hotspot
|
xywh {500 209 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
|
||||||
|
|||||||
+1
-1
@@ -50,7 +50,7 @@ Function {} {open return_type int
|
|||||||
Fl_Window myWindow {
|
Fl_Window myWindow {
|
||||||
label {My Preferences}
|
label {My Preferences}
|
||||||
callback closeWindowCB open
|
callback closeWindowCB open
|
||||||
xywh {585 277 298 311} type Double visible
|
xywh {585 277 298 311} type Double hide
|
||||||
} {
|
} {
|
||||||
Fl_Button {} {
|
Fl_Button {} {
|
||||||
label Cancel
|
label Cancel
|
||||||
|
|||||||
Reference in New Issue
Block a user