summaryrefslogtreecommitdiff
path: root/src/Fl_File_Chooser.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-07-01 21:14:20 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-07-01 21:14:20 +0000
commit031fef8635dd599c0a8b29c6c8724366a39b9e87 (patch)
tree36b30b4f6b3b66568fc739a9ff7e846ce4ba0c6c /src/Fl_File_Chooser.cxx
parentadc02c83a571392d37f5a5ba354630523818b1cf (diff)
File chooser updates - ../ and ./ map properly, now show ".." in the
directory list, added custom filter stuff, added filter_value() methods. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Chooser.cxx')
-rw-r--r--src/Fl_File_Chooser.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx
index f4a57c84a..7dfdd88ef 100644
--- a/src/Fl_File_Chooser.cxx
+++ b/src/Fl_File_Chooser.cxx
@@ -283,6 +283,15 @@ const char * Fl_File_Chooser::filter() {
return (fileList->filter());
}
+int Fl_File_Chooser::filter_value() {
+ return showChoice->value();
+}
+
+void Fl_File_Chooser::filter_value(int f) {
+ showChoice->value(f);
+showChoiceCB();
+}
+
void Fl_File_Chooser::hide() {
window->hide();
}