From fcb49a7b139aaa5a0509c1718c107b372839cf47 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 26 Dec 2002 01:15:32 +0000 Subject: Fl_Text_Display/Editor would not receive FL_FOCUS events on mouse clicks which resulted in not showing the insertion cursor. Fluid would not register changes to Fl_Text_Editor widgets unless Enter was pressed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/function_panel.fl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'fluid/function_panel.fl') diff --git a/fluid/function_panel.fl b/fluid/function_panel.fl index 722c3629d..7ea45f9e0 100644 --- a/fluid/function_panel.fl +++ b/fluid/function_panel.fl @@ -1,5 +1,5 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0102 +version 1.0103 header_name {.h} code_name {.cxx} decl {\#include } {} @@ -54,10 +54,11 @@ Function {make_code_panel()} {open Fl_Group {} {open xywh {10 10 525 120} box DOWN_FRAME resizable } { - Fl_Text_Editor code_input { + Fl_Text_Editor code_input {selected xywh {12 12 521 116} box NO_BOX resizable code0 {o->buffer(new Fl_Text_Buffer);} code1 {o->textfont(FL_COURIER);} + code2 {o->when(FL_WHEN_ENTER_KEY_CHANGED|FL_WHEN_RELEASE);} } } Fl_Return_Button code_panel_ok { @@ -399,7 +400,7 @@ Function {make_widgetbin()} {open } Fl_Button {} { user_data {"Fl_Output"} - callback type_make_cb selected + callback type_make_cb tooltip Output xywh {284 4 24 24} box THIN_UP_BOX code0 {o->image(pixmap[27]);} } -- cgit v1.2.3