From 8677b762013a1f4c2b1d14fde64954ceae632443 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Mon, 5 May 2008 20:04:48 -0500 Subject: [PATCH] Cleanup. --- FL/Fl_Text_Edit_Window.fl | 8 ++++---- Timeline/Annotation_Point.H | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/FL/Fl_Text_Edit_Window.fl b/FL/Fl_Text_Edit_Window.fl index 3f8487f..68c8ad2 100644 --- a/FL/Fl_Text_Edit_Window.fl +++ b/FL/Fl_Text_Edit_Window.fl @@ -4,8 +4,8 @@ header_name {.H} code_name {.C} decl {\#include } {} -widget_class Fl_Text_Edit_Window {open - xywh {787 474 355 410} type Double resizable +widget_class Fl_Text_Edit_Window {open selected + xywh {375 272 355 410} type Double resizable code0 {this->size_range( 0, 0, 400, 400 );} 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.title_box->label( title ); diff --git a/Timeline/Annotation_Point.H b/Timeline/Annotation_Point.H index b425275..373501c 100644 --- a/Timeline/Annotation_Point.H +++ b/Timeline/Annotation_Point.H @@ -110,7 +110,7 @@ public: { 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() );