Open Search
    customgui_field.h File Reference

    Classes

    class  FieldList
     
    class  FieldListGui
     

    Macros

    #define CUSTOMGUI_FIELDLIST
     
    #define CUSTOMDATATYPE_FIELDLIST
     
    #define DESC_FIELDLIST_MULTISELECT
     
    #define DESC_FIELDLIST_HIERARCHICAL
     
    #define DESC_FIELDLIST_DRAGTYPE
     
    #define DESC_FIELDLIST_NOCOLOR
     
    #define DESC_FIELDLIST_NODIRECTION
     
    #define DESC_FIELDLIST_NOROTATION
     
    #define DESC_FIELDLIST_NOVALUE
     
    #define DESC_FIELDLIST_NOHEADER
     

    Typedefs

    typedef maxon::Delegate< maxon::Result< void >FieldInput &, const FieldInfo &)> FieldLambdaInput
     
    typedef maxon::Delegate< maxon::Result< void >const FieldInput &, const FieldOutputBlock &, const FieldInfo &)> FieldLambdaOutput
     

    Enumerations

    enum class  FIELDLIST_FLAGS {
      NONE ,
      CLAMPOUTPUT ,
      ENABLEDIRECTIONBYDEFAULT ,
      ENABLECOLORBYDEFAULT ,
      DISABLEVALUEBYDEFAULT ,
      SIMPLEGUI ,
      ENABLEROTATIONBYDEFAULT
    }
     

    Functions

    enum FIELDLIST_FLAGS MAXON_ENUM_FLAGS (FIELDLIST_FLAGS)
     

    Variables

    static const Int32 ID_FIELDSUBLIST_ICON
     
    static const Int32 ID_FIELDMASK_ICON
     
     NONE
     
     CLAMPOUTPUT
     
     ENABLEDIRECTIONBYDEFAULT
     
     ENABLECOLORBYDEFAULT
     
     DISABLEVALUEBYDEFAULT
     
     SIMPLEGUI
     
     ENABLEROTATIONBYDEFAULT
     
    FieldList MAXON_ENUM_FLAGS
     

    Macro Definition Documentation

    ◆ CUSTOMGUI_FIELDLIST

    #define CUSTOMGUI_FIELDLIST

    Field custom GUI ID.

    ◆ CUSTOMDATATYPE_FIELDLIST

    #define CUSTOMDATATYPE_FIELDLIST

    ◆ DESC_FIELDLIST_MULTISELECT

    #define DESC_FIELDLIST_MULTISELECT

    FieldList custom GUI Description Flags.

    @markprivate

    ◆ DESC_FIELDLIST_HIERARCHICAL

    #define DESC_FIELDLIST_HIERARCHICAL

    @markprivate

    ◆ DESC_FIELDLIST_DRAGTYPE

    #define DESC_FIELDLIST_DRAGTYPE

    Accepted drag types for the list (Int32) default value is DRAGTYPE_ATOMARRAY.

    ◆ DESC_FIELDLIST_NOCOLOR

    #define DESC_FIELDLIST_NOCOLOR

    Disable the Color channel for the list (Bool)

    ◆ DESC_FIELDLIST_NODIRECTION

    #define DESC_FIELDLIST_NODIRECTION

    Disable the Direction channel for the list (Bool)

    ◆ DESC_FIELDLIST_NOROTATION

    #define DESC_FIELDLIST_NOROTATION

    Disable the Rotation channel for the list (Bool)

    ◆ DESC_FIELDLIST_NOVALUE

    #define DESC_FIELDLIST_NOVALUE

    Disable the Value channel for the list (Bool)

    ◆ DESC_FIELDLIST_NOHEADER

    #define DESC_FIELDLIST_NOHEADER

    Disable the list header (Bool)

    Typedef Documentation

    ◆ FieldLambdaInput

    ◆ FieldLambdaOutput

    Enumeration Type Documentation

    ◆ FIELDLIST_FLAGS

    enum FIELDLIST_FLAGS
    strong
    Enumerator
    NONE 

    No flags.

    CLAMPOUTPUT 

    Clamp the output values from the FieldList.

    ENABLEDIRECTIONBYDEFAULT 

    Have direction enabled by default on new layers.

    ENABLECOLORBYDEFAULT 

    Have color enabled by default on new layers.

    DISABLEVALUEBYDEFAULT 

    Disable the value channel by default on new layers.

    SIMPLEGUI 

    Use a simplified GUI, this is only possible if there is only a single standard field layer in the datatype.

    ENABLEROTATIONBYDEFAULT 

    Have direction enabled by default on new layers.

    Function Documentation

    ◆ MAXON_ENUM_FLAGS()

    enum FIELDLIST_FLAGS MAXON_ENUM_FLAGS ( FIELDLIST_FLAGS  )

    Variable Documentation

    ◆ ID_FIELDSUBLIST_ICON

    const Int32 ID_FIELDSUBLIST_ICON
    static

    The generic icon for sublists.

    ◆ ID_FIELDMASK_ICON

    const Int32 ID_FIELDMASK_ICON
    static

    The icon for the mask sublist.

    ◆ NONE

    NONE

    No flags.

    ◆ CLAMPOUTPUT

    CLAMPOUTPUT

    Clamp the output values from the FieldList.

    ◆ ENABLEDIRECTIONBYDEFAULT

    ENABLEDIRECTIONBYDEFAULT

    Have direction enabled by default on new layers.

    ◆ ENABLECOLORBYDEFAULT

    ENABLECOLORBYDEFAULT

    Have color enabled by default on new layers.

    ◆ DISABLEVALUEBYDEFAULT

    DISABLEVALUEBYDEFAULT

    Disable the value channel by default on new layers.

    ◆ SIMPLEGUI

    SIMPLEGUI

    Use a simplified GUI, this is only possible if there is only a single standard field layer in the datatype.

    ◆ ENABLEROTATIONBYDEFAULT

    ENABLEROTATIONBYDEFAULT

    Have direction enabled by default on new layers.

    ◆ MAXON_ENUM_FLAGS

    FieldList MAXON_ENUM_FLAGS