summaryrefslogtreecommitdiff
path: root/fluid/function_panel.fl
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2006-05-18 14:40:10 +0000
committerMatthias Melcher <fltk@matthiasm.com>2006-05-18 14:40:10 +0000
commit92d0163f407e89db078d58fb51b017458be6e412 (patch)
tree9c5d5dc17ad9821453a0457d3da608378239835e /fluid/function_panel.fl
parentb0c7fc3ab72bf06f54dc917d6a3b318f6d7941e8 (diff)
Declarations in Fluid can now explicitly be made non-static or non-extern. This allows the declaration of types like 'enum'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/function_panel.fl')
-rw-r--r--fluid/function_panel.fl14
1 files changed, 9 insertions, 5 deletions
diff --git a/fluid/function_panel.fl b/fluid/function_panel.fl
index ae8b9fff2..40aa7b9d0 100644
--- a/fluid/function_panel.fl
+++ b/fluid/function_panel.fl
@@ -201,9 +201,9 @@ Function {make_declblock_panel()} {open
Function {make_decl_panel()} {open
} {
Fl_Window decl_panel {
- label {Declaration Properties}
- xywh {412 206 290 150} type Double hide resizable
- code0 {o->size_range(o->w(), o->h(), Fl::w(), o->h());}
+ label {Declaration Properties} open
+ xywh {412 206 290 150} type Double resizable
+ code0 {o->size_range(o->w(), o->h(), Fl::w(), o->h());} visible
} {
Fl_Group {} {open
xywh {10 10 270 20}
@@ -212,8 +212,12 @@ Function {make_decl_panel()} {open
label public
tooltip {Make the declaration publicly accessible.} xywh {10 10 60 20} labelsize 11 when 0
}
+ Fl_Light_Button decl_static_button {
+ label static selected
+ tooltip {Prepend 'static' to private declarations in the source code, or 'extern' to public declarations in the header file.} xywh {80 10 60 20} labelsize 11 when 0
+ }
Fl_Box {} {
- xywh {80 10 200 20} resizable
+ xywh {150 10 130 20} resizable
}
}
Fl_Input decl_input {
@@ -706,7 +710,7 @@ Function {make_sourceview()} {open
}
}
Fl_Group {} {
- label Header open selected
+ label Header open
xywh {10 35 500 415} labelsize 13
} {
Fl_Text_Editor sv_header {