|
VSTGUI
4.3
Graphical User Interface Framework not only for VST plugins
|
a menu item More...
Inheritance diagram for CMenuItem:
Collaboration diagram for CMenuItem:Public Types | |
| enum | Flags { kNoFlags = 0, kDisabled = 1 << 0, kTitle = 1 << 1, kChecked = 1 << 2, kSeparator = 1 << 3 } |
Public Member Functions | |
| CMenuItem (UTF8StringPtr title, UTF8StringPtr keycode=0, int32_t keyModifiers=0, CBitmap *icon=0, int32_t flags=kNoFlags) | |
| CMenuItem (UTF8StringPtr title, COptionMenu *submenu, CBitmap *icon=0) | |
| CMenuItem (UTF8StringPtr title, int32_t tag) | |
| CMenuItem (const CMenuItem &item) | |
| virtual void | beforeDelete () |
CMenuItem Methods | |
| virtual void | setTitle (UTF8StringPtr title) |
| set title of menu item More... | |
| virtual void | setSubmenu (COptionMenu *submenu) |
| set submenu of menu item More... | |
| virtual void | setKey (UTF8StringPtr keyCode, int32_t keyModifiers=0) |
| set keycode and key modifiers of menu item More... | |
| virtual void | setVirtualKey (int32_t virtualKeyCode, int32_t keyModifiers=0) |
| set virtual keycode and key modifiers of menu item More... | |
| virtual void | setEnabled (bool state=true) |
| set menu item enabled state More... | |
| virtual void | setChecked (bool state=true) |
| set menu item checked state More... | |
| virtual void | setIsTitle (bool state=true) |
| set menu item title state More... | |
| virtual void | setIsSeparator (bool state=true) |
| set menu item separator state More... | |
| virtual void | setIcon (CBitmap *icon) |
| set menu item icon More... | |
| virtual void | setTag (int32_t tag) |
| set menu item tag More... | |
| bool | isEnabled () const |
| returns whether the item is enabled or not More... | |
| bool | isChecked () const |
| returns whether the item is checked or not More... | |
| bool | isTitle () const |
| returns whether the item is a title item or not More... | |
| bool | isSeparator () const |
| returns whether the item is a separator or not More... | |
| UTF8StringPtr | getTitle () const |
| returns the title of the item More... | |
| int32_t | getKeyModifiers () const |
| returns the key modifiers of the item More... | |
| UTF8StringPtr | getKeycode () const |
| returns the keycode of the item More... | |
| int32_t | getVirtualKeyCode () const |
| returns the virtual keycode of the item More... | |
| COptionMenu * | getSubmenu () const |
| returns the submenu of the item More... | |
| CBitmap * | getIcon () const |
| returns the icon of the item More... | |
| int32_t | getTag () const |
| returns the tag of the item More... | |
Reference Counting Methods | |
| virtual void | forget () |
| decrease refcount and delete object if refcount == 0 More... | |
| virtual void | remember () |
| increase refcount More... | |
| virtual int32_t | getNbReference () const |
| get refcount More... | |
Message Methods | |
| virtual CMessageResult | notify (CBaseObject *sender, IdStringPtr message) |
Protected Member Functions | |
| ~CMenuItem () | |
Protected Attributes | |
| UTF8StringBuffer | title |
| UTF8StringBuffer | keyCode |
| COptionMenu * | submenu |
| CBitmap * | icon |
| int32_t | flags |
| int32_t | keyModifiers |
| int32_t | virtualKeyCode |
| int32_t | tag |
a menu item
Defines an item of a VSTGUI::COptionMenu
| enum Flags |
| CMenuItem | ( | UTF8StringPtr | inTitle, |
| UTF8StringPtr | inKeycode = 0, |
||
| int32_t | inKeyModifiers = 0, |
||
| CBitmap * | inIcon = 0, |
||
| int32_t | inFlags = kNoFlags |
||
| ) |
CMenuItem constructor.
| inTitle | title of item |
| inFlags | CMenuItem::Flags of item |
| inKeycode | keycode of item |
| inKeyModifiers | keymodifiers of item |
| inIcon | icon of item |
Here is the call graph for this function:| CMenuItem | ( | UTF8StringPtr | inTitle, |
| COptionMenu * | inSubmenu, | ||
| CBitmap * | inIcon = 0 |
||
| ) |
CMenuItem constructor.
| inTitle | title of item |
| inSubmenu | submenu of item |
| inIcon | icon of item |
Here is the call graph for this function:| CMenuItem | ( | UTF8StringPtr | inTitle, |
| int32_t | inTag | ||
| ) |
CMenuItem constructor.
| inTitle | title of item |
| inTag | tag of item |
Here is the call graph for this function:
|
protected |
Here is the call graph for this function:
|
inlinevirtualinherited |
|
inlinevirtualinherited |
decrease refcount and delete object if refcount == 0
Here is the call graph for this function:
|
inline |
returns the icon of the item
Here is the caller graph for this function:
|
inline |
returns the keycode of the item
Here is the caller graph for this function:
|
inline |
returns the key modifiers of the item
Here is the caller graph for this function:
|
inlinevirtualinherited |
get refcount
|
inline |
returns the submenu of the item
Here is the caller graph for this function:
|
inline |
returns the tag of the item
Here is the caller graph for this function:
|
inline |
returns the title of the item
Here is the caller graph for this function:
|
inline |
returns the virtual keycode of the item
Here is the caller graph for this function:
|
inline |
returns whether the item is checked or not
Here is the caller graph for this function:
|
inline |
returns whether the item is enabled or not
Here is the caller graph for this function:
|
inline |
returns whether the item is a separator or not
Here is the caller graph for this function:
|
inline |
returns whether the item is a title item or not
Here is the caller graph for this function:
|
inlinevirtualinherited |
Reimplemented in CView, GenericStringListDataBrowserSource, CDataBrowser, CViewContainer, CRockerSwitch, CScrollView, CAnimationSplashScreen, UIDescriptionViewSwitchController, CRowColumnView, CShadowViewContainer, CTooltipSupport, and CScrollbar.
Here is the caller graph for this function:
|
inlinevirtualinherited |
increase refcount
Here is the caller graph for this function:
|
virtual |
set menu item checked state
Here is the caller graph for this function:
|
virtual |
set menu item enabled state
Here is the caller graph for this function:
|
virtual |
set menu item icon
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
set menu item separator state
|
virtual |
set menu item title state
|
virtual |
set keycode and key modifiers of menu item
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
set submenu of menu item
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
set menu item tag
Here is the caller graph for this function:
|
virtual |
set title of menu item
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
set virtual keycode and key modifiers of menu item
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |