HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_RadialSubmenu.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * COMMENTS:
7  */
8 
9 #ifndef __HOM_RadialSubmenu_h__
10 #define __HOM_RadialSubmenu_h__
11 
12 #include "HOM_RadialItem.h"
13 
15 
16 SWIGOUT(%rename(RadialSubmenu) HOM_RadialSubmenu;)
17 
19 {
20 public:
22  { HOM_CONSTRUCT_OBJECT(this) }
24  : HOM_RadialItem(item)
25  { HOM_CONSTRUCT_OBJECT(this) }
27  { HOM_DESTRUCT_OBJECT(this) }
28 
29  virtual const char *label() = 0;
30 
31  virtual void setLabel(const char *s) = 0;
32 
33  SWIGOUT(%newobject item;)
34  virtual HOM_RadialItem *item(HOM_EnumValue &location) = 0;
35 
36  virtual std::map<HOM_EnumValue, HOM_ElemPtr<HOM_RadialItem> > items() = 0;
37 
38  SWIGOUT(%newobject createSubmenu;)
39  SWIGOUT(%kwargs createSubmenu;)
40  virtual HOM_RadialSubmenu *createSubmenu(HOM_EnumValue &location,
41  const char *label=nullptr) = 0;
42 
43  SWIGOUT(%newobject createScriptItem;)
44  SWIGOUT(%kwargs createScriptItem;)
45  virtual HOM_RadialScriptItem *
46  createScriptItem(HOM_EnumValue &location,
47  const char *label=nullptr,
48  const char *icon=nullptr,
49  const char *check=nullptr,
50  const char *script=nullptr) = 0;
51 };
52 
53 #endif
virtual const char * icon()=0
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:973
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2544
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
HOM_RadialSubmenu(const HOM_RadialSubmenu &item)
#define HOM_API
Definition: HOM_API.h:13
virtual const char * check()=0
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:972
GLint location
Definition: glcorearb.h:804
virtual ~HOM_RadialSubmenu()
virtual const char * script()=0
virtual void setLabel(const char *s)=0