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_); };
 
 
int Fl_Fontsize
Size of a font in pixels.
Definition Enumerations.H:913
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
int item_height(void *item) const
Returns height of item in pixels.
Definition Fl_Browser.cxx:363
Fl_Browser(int X, int Y, int W, int H, const char *L=0)
The constructor makes an empty browser.
Definition Fl_Browser.cxx:603
Fl_Fontsize textsize() const
Gets the default text size (in pixels) for the lines in the browser.
Definition Fl_Browser.H:147
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:506
int incr_height() const
The default 'average' item height (including inter-item spacing) in pixels.
Definition Fl_Browser.cxx:495
int item_width(void *item) const
Returns width of item in pixels.
Definition Fl_Browser.cxx:423
int full_height() const
The height of the entire list of all visible() items in pixels.
Definition Fl_Browser.cxx:484
const char * filter() const
Sets or gets the filename filter.
Definition Fl_File_Browser.H:77
Fl_File_Browser(int, int, int, int, const char *=0)
The constructor creates the Fl_File_Browser widget at the specified position and size.
Definition Fl_File_Browser.cxx:411
void iconsize(uchar s)
Sets or gets the size of the icons.
Definition Fl_File_Browser.H:64
uchar iconsize() const
Sets or gets the size of the icons.
Definition Fl_File_Browser.H:62
int filetype() const
Sets or gets the file browser type, FILES or DIRECTORIES.
Definition Fl_File_Browser.H:97
void filetype(int t)
Sets or gets the file browser type, FILES or DIRECTORIES.
Definition Fl_File_Browser.H:104
File names and URI utility functions.
unsigned char uchar
unsigned char
Definition fl_types.h:30
int Fl_File_Sort_F(struct dirent **, struct dirent **)
File sorting function.
Definition filename.H:116