customgui_iconchooser.h File Reference

Macros

#define  CUSTOMGUI_ICONCHOOSER
#define  ICONCHOOSER_DATA
#define  ID_ICONCHOOSERGUI_BROWSERPRESET
#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
}

函数

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_BROWSERPRESET

#define ID_ICONCHOOSERGUI_BROWSERPRESET

Plugin ID for the Spline GUI preset type.
Can be used to filter a list of presets for the Content Browser.

◆  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

using CustomIconGetIdDelegate = maxon::Delegate < Int32 ()>

◆  CustomIconDrawDelegate

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

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  
)