HDK
|
#include <DT_Plugin.h>
Public Types | |
enum | Flags { MI_None = 0x00, MI_Disabled = 0x01, MI_ToggleUnchecked = 0x02, MI_ToggleChecked = 0x06, MI_HasSubMenu = 0x08 } |
Public Member Functions | |
DT_NodeMenuItem (const UT_StringHolder &token, const UT_StringHolder &label, const UT_StringHolder &hotkey_base=UT_StringHolder(), Flags flags=MI_None) | |
const UT_StringHolder & | hotkey () const |
bool | enabled () const |
bool | isToggle () const |
bool | toggledOn () const |
bool | hasSubmenu () const |
Public Member Functions inherited from DT_MenuItem | |
DT_MenuItem (const UT_StringHolder &token, const UT_StringHolder &label) | |
const UT_StringHolder & | token () const |
const UT_StringHolder & | label () const |
bool | operator== (const DT_MenuItem &other) const |
Additional Inherited Members | |
Static Public Member Functions inherited from DT_MenuItem | |
static int | compare (const DT_MenuItem *m1, const DT_MenuItem *m2) |
Definition at line 76 of file DT_Plugin.h.
Enumerator | |
---|---|
MI_None | |
MI_Disabled | |
MI_ToggleUnchecked | |
MI_ToggleChecked | |
MI_HasSubMenu |
Definition at line 80 of file DT_Plugin.h.
DT_NodeMenuItem::DT_NodeMenuItem | ( | const UT_StringHolder & | token, |
const UT_StringHolder & | label, | ||
const UT_StringHolder & | hotkey_base = UT_StringHolder() , |
||
Flags | flags = MI_None |
||
) |
bool DT_NodeMenuItem::enabled | ( | ) | const |
bool DT_NodeMenuItem::hasSubmenu | ( | ) | const |
const UT_StringHolder& DT_NodeMenuItem::hotkey | ( | ) | const |
bool DT_NodeMenuItem::isToggle | ( | ) | const |
bool DT_NodeMenuItem::toggledOn | ( | ) | const |