Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Fl_Stock_Images Class Reference

Fl_Stock_Images class allows to access to the set of predefined images by the image id. More...

#include <Fl_Stock_Images.h>

List of all members.

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_Imageget_image (SI_Type type)
 Returns image of given type.

void set_image (SI_Type type, Fl_Image *image)
 Set new image for type. More...


Detailed Description

Fl_Stock_Images class allows to access to the set of predefined images by the image id.

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.


Member Function Documentation

void Fl_Stock_Images::set_image SI_Type    type,
Fl_Image   image
[static]
 

Set new image for type.

You can set default image back by calling this with image parameter as NULL pointer.


The documentation for this class was generated from the following file:
Generated on Thu Jul 31 15:33:53 2003 for eFLTK by doxygen1.2.15