From ae0a956f2e7ad36f5aab55aa030d6a0d9a82d97b Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 2 May 2002 14:31:10 +0000 Subject: Add sort function as optional argument to Fl_File_Browser::load(). Add docos for sort functions and changes to fl_filename_list() and Fl_File_Browser::load(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_File_Browser.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'documentation/Fl_File_Browser.html') diff --git a/documentation/Fl_File_Browser.html b/documentation/Fl_File_Browser.html index 6137bdddc..82447904a 100644 --- a/documentation/Fl_File_Browser.html +++ b/documentation/Fl_File_Browser.html @@ -69,10 +69,13 @@ int filetype() const files and directories are shown. Otherwise only directories are shown. -

int load(const char *directory)

+

int load(const char *directory, Fl_File_Sort_F *sort = fl_numeric_sort)

Loads the specified directory into the browser. If icons have been loaded then the correct icon is associated with each file in the list. +

The sort argument specifies a sort function to be used with +fl_filename_list(). + -- cgit v1.2.3