This commit is contained in:
Jonathan Moore Liles 2008-05-05 20:04:48 -05:00
parent 982eed82e4
commit 8677b76201
2 changed files with 5 additions and 5 deletions

View File

@ -4,8 +4,8 @@ header_name {.H}
code_name {.C} code_name {.C}
decl {\#include <string.h>} {} decl {\#include <string.h>} {}
widget_class Fl_Text_Edit_Window {open widget_class Fl_Text_Edit_Window {open selected
xywh {787 474 355 410} type Double resizable xywh {375 272 355 410} type Double resizable
code0 {this->size_range( 0, 0, 400, 400 );} code0 {this->size_range( 0, 0, 400, 400 );}
class Fl_Window modal visible class Fl_Window modal visible
} { } {
@ -33,9 +33,9 @@ widget_class Fl_Text_Edit_Window {open
} }
} }
Function {fl_text_edit( const char *title, const char *button_text, const char *initial_text )} {open selected C return_type {char *} Function {fl_text_edit( const char *title, const char *button_text, const char *initial_text )} {open C return_type {char *}
} { } {
code {Fl_Text_Edit_Window tew( 0, 0, 355, 410, title ); code {Fl_Text_Edit_Window tew( 355, 410, title );
tew.return_button->label( button_text ); tew.return_button->label( button_text );
tew.title_box->label( title ); tew.title_box->label( title );

View File

@ -110,7 +110,7 @@ public:
{ {
Logger _log( this ); Logger _log( this );
if ( m == FL_PUSH && Fl::test_shortcur( FL_BUTTON3 ) && ! Fl::event_shift() ) if ( m == FL_PUSH && Fl::test_shortcut( FL_BUTTON3 ) && ! Fl::event_shift() )
{ {
const char *s = fl_input( "New name for mark:", name() ); const char *s = fl_input( "New name for mark:", name() );