customgui_iconchooser.h File Reference

Macros

#define CUSTOMGUI_ICONCHOOSER
 
#define ICONCHOOSER_DATA
 
#define ID_ICONCHOOSERGUI_POPUPDIALOG
 
#define ID_ICONCHOOSER_SETTINGS
 

Typedefs

using CustomIconGetIdDelegate = maxon::Delegate< Int32()>
 
using CustomIconDrawDelegate = maxon::Delegate< void(IconData &dat)>
 

Enumerations

enum  {
  ID_ICONCHOOSER_SETTINGS_SPECIALCASES ,
  ID_ICONCHOOSER_SETTINGS_PARENT_IGNORE
}
 

Functions

void FillCustomIconSettingsFromBaseList2D (CustomIconSettings &settings, const BaseContainer &data, Int32 defaultIconId, Bool fillDefault)
 
Bool GetCustomIcon (GetCustomIconData &cid, const CustomIconSettings &settings, Bool drawBeforeColoring=false, CustomIconGetIdDelegate *getIdCallback=nullptr, CustomIconDrawDelegate *drawCallback=nullptr)
 

Macro Definition Documentation

◆ CUSTOMGUI_ICONCHOOSER

#define CUSTOMGUI_ICONCHOOSER

Private.

◆ ICONCHOOSER_DATA

#define ICONCHOOSER_DATA

Private.

◆ ID_ICONCHOOSERGUI_POPUPDIALOG

#define ID_ICONCHOOSERGUI_POPUPDIALOG

Private.

◆ ID_ICONCHOOSER_SETTINGS

#define ID_ICONCHOOSER_SETTINGS

Id to store icon settings data into BaseList2D basecontainer.

Typedef Documentation

◆ CustomIconGetIdDelegate

◆ CustomIconDrawDelegate

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_ICONCHOOSER_SETTINGS_SPECIALCASES 
ID_ICONCHOOSER_SETTINGS_PARENT_IGNORE 

Function Documentation

◆ FillCustomIconSettingsFromBaseList2D()

void FillCustomIconSettingsFromBaseList2D ( CustomIconSettings settings,
const BaseContainer data,
Int32  defaultIconId,
Bool  fillDefault 
)

Private.

◆ GetCustomIcon()

Bool GetCustomIcon ( GetCustomIconData cid,
const CustomIconSettings settings,
Bool  drawBeforeColoring = false,
CustomIconGetIdDelegate getIdCallback = nullptr,
CustomIconDrawDelegate drawCallback = nullptr 
)