Fl_File_Icon class manages icon images that can be
used as labels in other widgets and as icons in the
The constructor creates a new
Fl_File_Icon with the specified
The destructor destroys the icon and frees all memory that has been
allocated for it.
Adds a keyword value to the icon array, returning a pointer to it.
Adds a color value to the icon array, returning a pointer to it.
Adds a vertex value to the icon array, returning a pointer to it.
The integer version accepts coordinates from 0 to 10000, while the
floating point version goes from 0.0 to 1.0. The origin (0.0) is in
the lower-lefthand corner of the icon.
Clears all icon data from the icon.
Draws the icon in the indicated area.
Finds an icon that matches the given filename and file type.
Returns a pointer to the first icon in the list.
Applies the icon to the widget, registering the
label type as needed.
The labeltype function for icons.
Loads the specified icon image. The format is deduced from the filename.
Loads an SGI icon file.
Loads all system-defined icons. This call is useful when using the
FileChooser widget and should be used when the application
Loads an XPM icon file.
Returns the filename matching pattern for the icon.
Returns the number of words of data used by the icon.
Returns the filetype associated with the icon, which can be one of the
Fl_File_Icon::ANY, any kind of file.
Fl_File_Icon::PLAIN, plain files.
Fl_File_Icon::FIFO, named pipes.
Fl_File_Icon::DEVICE, character and block devices.
Fl_File_Icon::LINK, symbolic links.
Returns the data array for the icon.
No comments for this page.