#include <Fl_Stock_Images.h>
Public Types | |
enum | SI_Type { SI_OK, SI_CANCEL, SI_NO, SI_OPEN, SI_SAVE, SI_BROWSE, SI_HELP, SI_NEXT, SI_PREV, SI_LEFT, SI_RIGHT, SI_ADD, SI_DELETE, SI_EDIT, SI_REFRESH, SI_CALENDAR, SI_PRINT, SI_PRINTER, SI_INSERT, SI_NEW, SI_SEARCH, SI_SEND, SI_STEPLEFT, SI_STEPRIGHT, SI_VIEW, LAST_STOCK_TYPE, SI_PRIOR = SI_PREV } |
Types for predefined stock images. | |
Static Public Methods | |
Fl_Image * | get_image (SI_Type type) |
Returns image of given type. | |
void | set_image (SI_Type type, Fl_Image *image) |
Set new image for type. More... |
That approach allows to use a small set of images and reuse them over and over again.
Themes may replace these images with images that fits to scheme. Themes must restore images to default, when unloading theme.
NOTE: You may not access pixel data of images!
Definition at line 17 of file Fl_Stock_Images.h.
|
Set new image for type. You can set default image back by calling this with image parameter as NULL pointer. |