From b4b95029e85311580c40b84573acd5e00a78162d Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 6 Apr 2004 19:33:11 +0000 Subject: Added a new_directory_tooltip string pointer to allow localization of the file chooser's new directory button (STR #340) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Chooser.fl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/Fl_File_Chooser.fl') diff --git a/src/Fl_File_Chooser.fl b/src/Fl_File_Chooser.fl index 94437205d..7c3744546 100644 --- a/src/Fl_File_Chooser.fl +++ b/src/Fl_File_Chooser.fl @@ -1,5 +1,5 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0104 +version 1.0105 header_name {../FL/Fl_File_Chooser.H} code_name {.cxx} class FL_EXPORT Fl_File_Chooser {open @@ -53,8 +53,9 @@ window->hide();} open } {} Fl_Button newButton { callback {newdir();} - tooltip {Create a new directory.} image {new.xbm} xywh {455 10 25 25} labelsize 8 + image {new.xbm} xywh {455 10 25 25} labelsize 8 code0 {\#include } + code1 {o->tooltip(new_directory_tooltip);} } } Fl_Tile {} { @@ -324,6 +325,8 @@ else } decl {static const char *new_directory_label;} {public } + decl {static const char *new_directory_tooltip;} {public + } decl {static const char *preview_label;} {public } decl {static const char *show_label;} {public -- cgit v1.2.3