c4d_customguidata.h File Reference

Classes

struct  CustomProperty
 
class  CustomGuiData
 

Macros

#define CUSTOMGUI_SUPPORT_LAYOUTSWITCH
 
#define CUSTOMGUI_SUPPORT_LAYOUTDATA
 
#define CUSTOMGUI_DISALLOW_TAKESOVERRIDE
 
#define CUSTOMGUIARRAY_SIZE(A)
 
#define CUSTOMTYPE_HIDE_ID
 

Enumerations

enum  CUSTOMTYPE {
  END,
  FLAG,
  LONG,
  REAL,
  STRING,
  VECTOR,
  HIDE_ID
}
 

Functions

enum CUSTOMTYPE MAXON_ENUM_LIST (CUSTOMTYPE)
 
Bool RegisterCustomGuiPlugin (const maxon::String &str, Int32 info, CustomGuiData *dat)
 

Variables

 END
 
 FLAG
 
 LONG
 
 REAL
 
 STRING
 
 VECTOR
 
 HIDE_ID
 
struct CustomProperty MAXON_ENUM_LIST
 

Macro Definition Documentation

◆ CUSTOMGUIARRAY_SIZE

#define CUSTOMGUIARRAY_SIZE (   A)

Calculates the size of arrays.

◆ CUSTOMTYPE_HIDE_ID

#define CUSTOMTYPE_HIDE_ID

Hides the property in the User Data manager (e.g. compatibility option).

Function Documentation

◆ RegisterCustomGuiPlugin()

Bool RegisterCustomGuiPlugin ( const maxon::String str,
Int32  info,
CustomGuiData dat 
)

Registers a custom GUI plugin.

Note
It is currently not possible to register a custom GUI for Bool or BaseTime.
Parameters
[in]strThe name of the plugin.
[in]infoThe custom GUI plugin info flags: CUSTOMGUI_SUPPORT PLUGINFLAG
[in]datAn instance for the custom GUI plugin. Cinema 4D takes over the ownership of the pointed data instance.
Returns
true if the custom GUI plugin was registered, otherwise false.

Variable Documentation

◆ END

END

End marker.

◆ FLAG

FLAG

Bool data. (Either the property is there or not.)

◆ LONG

LONG

Int32 data.

◆ REAL

REAL

Float data.

◆ STRING

STRING

String data. (An ID from the string table.)

◆ VECTOR

VECTOR

Vector data.

◆ HIDE_ID

HIDE_ID

◆ MAXON_ENUM_LIST

struct CustomProperty MAXON_ENUM_LIST