26 #ifndef _Fl_File_Browser_H_
27 # define _Fl_File_Browser_H_
29 # include "Fl_Browser.H"
30 # include "Fl_File_Icon.H"
42 const char *directory_;
49 void item_draw(
void *,
int,
int,
int,
int)
const;
53 enum { FILES, DIRECTORIES };
71 void filter(
const char *pattern);
77 const char *
filter()
const {
return (pattern_); };
107 #endif // !_Fl_File_Browser_H_
Fl_Fontsize textsize() const
Gets the default text size (in pixels) for the lines in the browser.
Definition: Fl_Browser_.H:301
void iconsize(uchar s)
Sets or gets the size of the icons.
Definition: Fl_File_Browser.H:64
int item_height(void *item) const
Returns height of item in pixels.
Definition: Fl_Browser.cxx:361
File names and URI utility functions.
int load(const char *filename)
Clears the browser and reads the file, adding each line from the file to the browser.
Definition: Fl_Browser_load.cxx:35
The Fl_File_Browser widget displays a list of filenames, optionally with file-specific icons...
Definition: Fl_File_Browser.H:39
int item_width(void *item) const
Returns width of item in pixels.
Definition: Fl_Browser.cxx:421
void item_draw(void *item, int X, int Y, int W, int H) const
Draws item at the position specified by X Y W H.
Definition: Fl_Browser.cxx:504
uchar iconsize() const
Sets or gets the size of the icons.
Definition: Fl_File_Browser.H:62
int( Fl_File_Sort_F)(struct dirent **, struct dirent **)
File sorting function.
Definition: filename.H:116
int full_height() const
The height of the entire list of all visible() items in pixels.
Definition: Fl_Browser.cxx:482
void filetype(int t)
Sets or gets the file browser type, FILES or DIRECTORIES.
Definition: Fl_File_Browser.H:104
int Fl_Fontsize
Size of a font in pixels.
Definition: Enumerations.H:768
int filetype() const
Sets or gets the file browser type, FILES or DIRECTORIES.
Definition: Fl_File_Browser.H:97
The Fl_Browser widget displays a scrolling list of text lines, and manages all the storage for the te...
Definition: Fl_Browser.H:80
const char * filter() const
Sets or gets the filename filter.
Definition: Fl_File_Browser.H:77
int incr_height() const
The default 'average' item height (including inter-item spacing) in pixels.
Definition: Fl_Browser.cxx:493
unsigned char uchar
unsigned char
Definition: fl_types.h:30