summaryrefslogtreecommitdiff
path: root/src/Fl_File_Chooser2.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2018-02-09 14:39:42 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2018-02-09 14:39:42 +0000
commit52ae3582a2c7bb437df33c0a30bfd5a01d6c5282 (patch)
tree4f532a97ab0a6a1c2f96454290bc8803ee022f1f /src/Fl_File_Chooser2.cxx
parent30dad6a4aa2b94fe91783160c86abc75f9dc9e23 (diff)
Replace "WIN32" with "_WIN32" or "Windows".
Replace compiler/preprocessor/platform macro "WIN32" with "_WIN32". Replace "WIN32" in text and documentation with "Windows". Replace "MSWindows" with "Windows". To do: README.Windows.txt (and maybe other documentation as well) needs updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Chooser2.cxx')
-rw-r--r--src/Fl_File_Chooser2.cxx86
1 files changed, 43 insertions, 43 deletions
diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx
index 94cbbfe63..eed1d670b 100644
--- a/src/Fl_File_Chooser2.cxx
+++ b/src/Fl_File_Chooser2.cxx
@@ -23,85 +23,85 @@
/** \class Fl_File_Chooser
The Fl_File_Chooser widget displays a standard file selection
dialog that supports various selection modes.
-
+
\image html Fl_File_Chooser.jpg
\image latex Fl_File_Chooser.jpg "Fl_File_Chooser" width=12cm
-
- The Fl_File_Chooser widget transmits UTF-8 encoded filenames to its user. It is
- recommended to open files that may have non-ASCII names with the fl_fopen() or
- fl_open() utility functions that handle these names in a cross-platform way
- (whereas the standard fopen()/open() functions fail on the MSWindows platform
- to open files with a non-ASCII name).
-
+
+ The Fl_File_Chooser widget transmits UTF-8 encoded filenames to its user. It is
+ recommended to open files that may have non-ASCII names with the fl_fopen() or
+ fl_open() utility functions that handle these names in a cross-platform way
+ (whereas the standard fopen()/open() functions fail on the Windows platform
+ to open files with a non-ASCII name).
+
The Fl_File_Chooser class also exports several static values
that may be used to localize or customize the appearance of all file chooser
dialogs:
<CENTER><TABLE BORDER="1">
<TR>
- <TH>Member</TH>
- <TH>Default value</TH>
+ <TH>Member</TH>
+ <TH>Default value</TH>
</TR>
<TR>
- <TD>add_favorites_label</TD>
- <TD>"Add to Favorites"</TD>
+ <TD>add_favorites_label</TD>
+ <TD>"Add to Favorites"</TD>
</TR>
<TR>
- <TD>all_files_label</TD>
- <TD>"All Files (*)"</TD>
+ <TD>all_files_label</TD>
+ <TD>"All Files (*)"</TD>
</TR>
<TR>
- <TD>custom_filter_label</TD>
- <TD>"Custom Filter"</TD>
+ <TD>custom_filter_label</TD>
+ <TD>"Custom Filter"</TD>
</TR>
<TR>
- <TD>existing_file_label</TD>
- <TD>"Please choose an existing file!"</TD>
+ <TD>existing_file_label</TD>
+ <TD>"Please choose an existing file!"</TD>
</TR>
<TR>
- <TD>favorites_label</TD>
- <TD>"Favorites"</TD>
+ <TD>favorites_label</TD>
+ <TD>"Favorites"</TD>
</TR>
<TR>
- <TD>filename_label</TD>
- <TD>"Filename:"</TD>
+ <TD>filename_label</TD>
+ <TD>"Filename:"</TD>
</TR>
<TR>
- <TD>filesystems_label</TD>
- <TD>"My Computer" (WIN32)<BR>
- "File Systems" (all others)</TD>
+ <TD>filesystems_label</TD>
+ <TD>"My Computer" (Windows)<BR>
+ "File Systems" (all others)</TD>
</TR>
- <TR>
+ <TR>
<TD>hidden_label</TD>
<TD>"Show hidden files:"</TD>
- </TR>
- <TR>
- <TD>manage_favorites_label</TD>
- <TD>"Manage Favorites"</TD>
</TR>
<TR>
- <TD>new_directory_label</TD>
- <TD>"New Directory?"</TD>
+ <TD>manage_favorites_label</TD>
+ <TD>"Manage Favorites"</TD>
</TR>
<TR>
- <TD>new_directory_tooltip</TD>
- <TD>"Create a new directory."</TD>
+ <TD>new_directory_label</TD>
+ <TD>"New Directory?"</TD>
</TR>
<TR>
- <TD>preview_label</TD>
- <TD>"Preview"</TD>
+ <TD>new_directory_tooltip</TD>
+ <TD>"Create a new directory."</TD>
</TR>
<TR>
- <TD>save_label</TD>
- <TD>"Save"</TD>
+ <TD>preview_label</TD>
+ <TD>"Preview"</TD>
</TR>
<TR>
- <TD>show_label</TD>
- <TD>"Show:"</TD>
+ <TD>save_label</TD>
+ <TD>"Save"</TD>
</TR>
- <TR>
- <TD>sort</TD>
- <TD>fl_numericsort</TD>
+ <TR>
+ <TD>show_label</TD>
+ <TD>"Show:"</TD>
+ </TR>
+ <TR>
+ <TD>sort</TD>
+ <TD>fl_numericsort</TD>
</TR>
</TABLE></CENTER>