lib_iconcollection.h File Reference

Macros

#define LIBRARY_ICON_COLLECTION
 

Enumerations

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

Functions

enum ICONFLAG MAXON_ENUM_FLAGS (ICONFLAG)
 
Bool RegisterIcon (Int32 lIconID, BaseBitmap *pBmp, Int32 x=0, Int32 y=0, Int32 w=-1, Int32 h=-1, ICONFLAG lFlags=ICONFLAG::NONE)
 
Bool RegisterIcon (Int32 lIconID, Filename fn, Int32 x=0, Int32 y=0, Int32 w=-1, Int32 h=-1, ICONFLAG lFlags=ICONFLAG::NONE)
 
Bool GetIcon (Int32 lIconID, IconData *pData)
 
Bool UnregisterIcon (Int32 lIconID)
 

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.