From 72b56edc2940e0279a551fa9182d5ffb16cc1953 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 29 Sep 2001 22:59:45 +0000 Subject: Tooltips, and more tooltips. Fl_Browser_, Fl_Choice, and Fl_Input_ did not do the tooltip stuff. Fix write_properties so it writes tooltips properly from FLUID. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Chooser.fl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl_File_Chooser.fl') diff --git a/src/Fl_File_Chooser.fl b/src/Fl_File_Chooser.fl index 1302d773f..6a78a869e 100644 --- a/src/Fl_File_Chooser.fl +++ b/src/Fl_File_Chooser.fl @@ -55,11 +55,11 @@ window->hide();} } Fl_Button upButton { callback {up();} - private image {up.xbm} xywh {280 10 25 25} labelsize 8 + private image {up.xbm} tooltip {Show the parent directory.} xywh {280 10 25 25} labelsize 8 } Fl_Button newButton { callback {newdir();} - private image {new.xbm} xywh {310 10 25 25} labelsize 8 + private image {new.xbm} tooltip {Create a new directory.} xywh {310 10 25 25} labelsize 8 } Fl_Choice dirMenu { label {Directory:} @@ -70,7 +70,7 @@ pathname[0] = '\\0'; for (i = 1; i <= dirMenu->value(); i ++) strcat(pathname, dirMenu->text(i)); directory(pathname);} open - private xywh {95 10 180 25} down_box BORDER_BOX + private tooltip {Choose a parent directory.} xywh {95 10 180 25} down_box BORDER_BOX } {} Fl_Button {} { callback {const char *f; @@ -80,7 +80,7 @@ if ((f = fl_input("New Filter?", fileList->filter(f); rescan(); }} - private image {allfiles.xbm} xywh {340 10 25 25} labelsize 28 labelcolor 4 align 16 + private image {allfiles.xbm} tooltip {Change the filename filter.} xywh {340 10 25 25} labelsize 28 labelcolor 4 align 16 code0 {\#include } } } -- cgit v1.2.3