Skip to content

Commit

Permalink
Update fluid (.fl) files.
Browse files Browse the repository at this point in the history
src/Fl_Help_Dialog.fl: Add one missing declaration.

Other files: update (fluid -u) and update source (fluid -c).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Albrecht Schlosser committed May 1, 2018
1 parent da68d85 commit 2e9ba0a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
4 changes: 2 additions & 2 deletions fluid/widget_panel.fl
Expand Up @@ -30,8 +30,8 @@ Function {make_widget_panel()} {
} {
Fl_Window {} {
comment {Use a Double Window to avoid flickering.} open
xywh {560 60 420 400} type Double labelsize 11 align 80 resizable hotspot
code0 {o->size_range(o->w(), o->h());} size_range {420 400 0 0} visible
xywh {560 60 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}
} {
Fl_Tabs {} {
callback {propagate_load((Fl_Group *)o,v);} open
Expand Down
5 changes: 4 additions & 1 deletion src/Fl_Help_Dialog.fl
Expand Up @@ -29,6 +29,9 @@ comment {//
} {in_source in_header
}

decl {\#include <FL/Fl_Shared_Image.H>} {selected private local
}

decl {\#include "flstring.h"} {private local
}

Expand All @@ -53,7 +56,7 @@ class FL_EXPORT Fl_Help_Dialog {open
label {Help Dialog} open
private xywh {398 64 530 385} type Double hide resizable size_range {260 150 0 0}
} {
Fl_Group {} {open selected
Fl_Group {} {open
xywh {10 10 511 25}
} {
Fl_Button back_ {
Expand Down
2 changes: 1 addition & 1 deletion test/tree.fl
Expand Up @@ -362,7 +362,7 @@ Function {} {open
} {
Fl_Window window {
label tree open
xywh {539 25 1045 730} type Double visible
xywh {539 25 1045 730} type Double hide
} {
Fl_Group tree {
label Tree
Expand Down
16 changes: 8 additions & 8 deletions test/valuators.fl
@@ -1,16 +1,16 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0304
header_name {.h}
version 1.0400
header_name {.h}
code_name {.cxx}
decl {\#include <FL/Fl_Simple_Terminal.H>} {public global
}
}

Function {} {open
} {
Fl_Window {} {
label {Valuator classes, showing values for type()} open
xywh {400 199 580 640} type Double color 43 selection_color 43
code0 {\#include <stdio.h>} visible
xywh {400 199 580 640} type Double color 43 selection_color 43 hide
code0 {\#include <stdio.h>}
} {
Fl_Box {} {
label Fl_Slider
Expand Down Expand Up @@ -227,19 +227,19 @@ Function {} {open
class Fl_Simple_Terminal
}
}
}
}

Function {callback(Fl_Widget* o, void*)} {open return_type void
} {
code {const char *name = (const char*)(o->user_data() ? o->user_data() : "???");
tty->printf("callback(): %s value() = \\033[2m%g\\033[0m\\n",
name, ((Fl_Valuator*)o)->value());} {}
}
}

Function {callback_spinner(Fl_Widget* o, void*)} {
comment {Spinner doesn't derive from Fl_Valuator..} open return_type void
} {
code {const char *name = (const char*)(o->user_data() ? o->user_data() : "???");
tty->printf("callback(): %s value() = \\033[2m%g\\033[0m\\n",
name, ((Fl_Spinner*)o)->value());} {}
}
}

0 comments on commit 2e9ba0a

Please sign in to comment.