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
This commit is contained in:
parent
af0c12aae6
commit
b4b95029e8
4
CHANGES
4
CHANGES
@ -2,6 +2,10 @@ CHANGES IN FLTK 1.1.5rc1
|
||||
|
||||
- Documentation updates (STR #245, STR #250, STR #277,
|
||||
STR #281, STR #328, STR #338)
|
||||
- Added a new_directory_tooltip string pointer to allow
|
||||
localization of the file chooser's new directory
|
||||
button (STR #340)
|
||||
- Added Fl_Menu_::find_item() method (STR #316)
|
||||
- The Fl_Widget copy operator definitions were not
|
||||
conditionally compiled properly (STR #329)
|
||||
- FLUID's Layout functionality did not move child
|
||||
|
@ -1,4 +1,4 @@
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0104
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0105
|
||||
|
||||
#ifndef Fl_File_Chooser_H
|
||||
#define Fl_File_Chooser_H
|
||||
@ -137,6 +137,7 @@ public:
|
||||
static const char *filesystems_label;
|
||||
static const char *manage_favorites_label;
|
||||
static const char *new_directory_label;
|
||||
static const char *new_directory_tooltip;
|
||||
static const char *preview_label;
|
||||
static const char *show_label;
|
||||
static Fl_File_Sort_F *sort;
|
||||
|
@ -69,6 +69,14 @@ dialogs:
|
||||
<TD><TT>manage_favorites_label</TT></TD>
|
||||
<TD>"Manage Favorites"</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD><TT>new_directory_label</TT></TD>
|
||||
<TD>"New Directory?"</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD><TT>new_directory_tooltip</TT></TD>
|
||||
<TD>"Create a new directory."</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD><TT>preview_label</TT></TD>
|
||||
<TD>"Preview"</TD>
|
||||
|
@ -1,4 +1,4 @@
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0104
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0105
|
||||
|
||||
#include "../FL/Fl_File_Chooser.H"
|
||||
|
||||
@ -149,10 +149,10 @@ Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char
|
||||
favoritesButton->label(favorites_label);
|
||||
}
|
||||
{ Fl_Button* o = newButton = new Fl_Button(455, 10, 25, 25);
|
||||
o->tooltip("Create a new directory.");
|
||||
o->image(image_new);
|
||||
o->labelsize(8);
|
||||
o->callback((Fl_Callback*)cb_newButton);
|
||||
o->tooltip(new_directory_tooltip);
|
||||
}
|
||||
o->end();
|
||||
}
|
||||
|
@ -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 <FL/Fl_Preferences.H>}
|
||||
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
|
||||
|
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_File_Chooser2.cxx,v 1.1.2.33 2003/11/01 01:49:35 easysw Exp $"
|
||||
// "$Id: Fl_File_Chooser2.cxx,v 1.1.2.34 2004/04/06 19:33:11 easysw Exp $"
|
||||
//
|
||||
// More Fl_File_Chooser routines.
|
||||
//
|
||||
@ -89,6 +89,7 @@ const char *Fl_File_Chooser::filesystems_label = "File Systems";
|
||||
#endif // WIN32
|
||||
const char *Fl_File_Chooser::manage_favorites_label = "Manage Favorites";
|
||||
const char *Fl_File_Chooser::new_directory_label = "New Directory?";
|
||||
const char *Fl_File_Chooser::new_directory_tooltip = "Create a new directory.";
|
||||
const char *Fl_File_Chooser::preview_label = "Preview";
|
||||
const char *Fl_File_Chooser::show_label = "Show:";
|
||||
Fl_File_Sort_F *Fl_File_Chooser::sort = fl_numericsort;
|
||||
@ -1163,5 +1164,5 @@ unquote_pathname(char *dst, // O - Destination string
|
||||
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_File_Chooser2.cxx,v 1.1.2.33 2003/11/01 01:49:35 easysw Exp $".
|
||||
// End of "$Id: Fl_File_Chooser2.cxx,v 1.1.2.34 2004/04/06 19:33:11 easysw Exp $".
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user