lib_iconcollection.h File Reference

Namespaces

 cinema
 

Macros

#define LIBRARY_ICON_COLLECTION
 

Enumerations

enum class  ICONFLAG {
  NONE ,
  COPY ,
  OVERWRITE ,
  DOUBLESIZE
}
 

Functions

enum cinema::ICONFLAG MAXON_ENUM_FLAGS (ICONFLAG)
 
Bool RegisterIcon (Int32 iconId, BaseBitmap *bmp, Int32 x=0, Int32 y=0, Int32 w=-1, Int32 h=-1, ICONFLAG flags=ICONFLAG::NONE)
 
Bool RegisterIcon (Int32 iconId, Filename fn, Int32 x=0, Int32 y=0, Int32 w=-1, Int32 h=-1, ICONFLAG flags=ICONFLAG::NONE)
 
Bool GetIcon (Int32 iconId, IconData *data)
 
Bool ColorizeIcon (Int32 iconId, const GeData &color)
 
BaseBitmap * GetColorizedIcon (Int32 iconId, const GeData &color)
 
Bool UnregisterIcon (Int32 iconId)
 

Variables

 NONE
 
 COPY
 
 OVERWRITE
 
 DOUBLESIZE
 

Variable Documentation

◆ NONE

NONE

None.

◆ COPY

COPY

Copies the bitmap instead of storing a pointer.

◆ OVERWRITE

OVERWRITE

If this is specified and an icon is already present in the library under this ID it will be overwritten, otherwise the existing one will stay.

◆ DOUBLESIZE

DOUBLESIZE

Doubles icon size.