diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2002-11-03 00:01:21 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2002-11-03 00:01:21 +0000 |
| commit | c3de2a22c058b26700cce7ebeb26ca20072dc50f (patch) | |
| tree | bcbd8e2be5c70d29fbd1d65028a3abac64c77310 /fluid/function_panel.fl | |
| parent | f3078e51e015215432c375ccd24a2d3c93342c52 (diff) | |
Replaced 'callback' and 'code' input in FLUID with Fl_Text_Editor.
Made widget pannel resize only text fields (which I see as the
logical way to do it. Opinions welcome).
Matthias
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/function_panel.fl')
| -rw-r--r-- | fluid/function_panel.fl | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/fluid/function_panel.fl b/fluid/function_panel.fl index 5374fc585..19f620641 100644 --- a/fluid/function_panel.fl +++ b/fluid/function_panel.fl @@ -49,10 +49,15 @@ Function {make_code_panel()} {open } { Fl_Window code_panel { label code open - xywh {260 242 548 175} resizable modal visible + xywh {327 261 548 175} resizable modal visible } { - Fl_Input code_input { - tooltip {C/C++ code.} xywh {10 10 525 120} type Multiline labelsize 12 align 0 when 0 textfont 4 resizable + Fl_Group {} {open + xywh {10 10 525 120} box DOWN_FRAME resizable + } { + Fl_Text_Editor code_input {selected + xywh {12 12 521 116} box NO_BOX resizable + code0 {o->buffer(new Fl_Text_Buffer);} + } } Fl_Return_Button code_panel_ok { label OK @@ -471,7 +476,7 @@ Function {make_widgetbin()} {open } Fl_Button {} { user_data {"Fl_Help_View"} - callback type_make_cb selected + callback type_make_cb tooltip {Help Browser} xywh {392 28 24 24} box THIN_UP_BOX code0 {o->image(pixmap[35]);} } |
