From 745cd4204a3d9cc379e99db6f6cf9d75d4337c3b Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 23 Jul 2002 15:14:17 +0000 Subject: Make newButton and previewButton public, so that you can hide/disable them as desired. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Chooser.fl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Fl_File_Chooser.fl b/src/Fl_File_Chooser.fl index 50ee3f0cd..12d9e5bca 100644 --- a/src/Fl_File_Chooser.fl +++ b/src/Fl_File_Chooser.fl @@ -52,8 +52,8 @@ window->hide();} open code0 {favoritesButton->label(favorites_label);} } {} Fl_Button newButton { - callback {newdir();} - private tooltip {Create a new directory.} image {new.xbm} xywh {455 10 25 25} labelsize 8 + callback {newdir();} selected + tooltip {Create a new directory.} image {new.xbm} xywh {455 10 25 25} labelsize 8 code0 {\#include } } } @@ -80,7 +80,7 @@ window->hide();} open Fl_Check_Button previewButton { label Preview callback {preview(previewButton->value());} - private xywh {405 275 75 20} down_box DOWN_BOX shortcut 0x80070 value 1 + xywh {405 275 75 20} down_box DOWN_BOX shortcut 0x80070 value 1 code0 {previewButton->label(preview_label);} } Fl_Box {} { @@ -308,7 +308,7 @@ else } decl {static const char *all_files_label;} {public } - decl {static const char *custom_filter_label;} {selected public + decl {static const char *custom_filter_label;} {public } decl {static const char *existing_file_label;} {public } -- cgit v1.2.3