ORK Framework  2.22.0
API Documentation
ORKFramework.Menu.SubMenu Class Reference
Inheritance diagram for ORKFramework.Menu.SubMenu:
ORKFramework.BaseData ORKFramework.IChoice ORKFramework.IBaseData ORKFramework.IChoiceSimple

Public Member Functions

bool CanUseSubMenu (IShortcut shortcut, BaseMenuPart parent)
 
bool ShowOKButton (GUIBox origin)
 
bool ShowCancelButton (GUIBox origin)
 
bool IsOKButtonActive (GUIBox origin)
 
bool IsCancelButtonActive (GUIBox origin)
 
bool Tick (GUIBox origin)
 
bool UnfocusedTick (GUIBox origin)
 
bool NotControlableTick (GUIBox origin)
 
bool Show (IShortcut shortcut, BaseMenuPart parent, bool useAction)
 
void Show ()
 
void FocusGained (GUIBox origin)
 
void FocusLost (GUIBox origin)
 
void OutOfBoxClick (GUIBox origin)
 
void Closed (GUIBox origin)
 
void ChoiceSelected (int index, GUIBox origin)
 
void SelectionChanged (int index, GUIBox origin)
 
void Canceled (GUIBox origin)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

int keyID = 0
 
int guiBoxID = 0
 
bool onlyForUseable = false
 
bool onlyAvailable = true
 
bool blockTooltips = false
 
bool closeOutOfBoxClick = false
 
bool blockFocus = true
 
ContentLayout contentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.None)
 
ChoiceMessage message = new ChoiceMessage()
 
SubMenuItem[] item = new SubMenuItem[] {new SubMenuItem()}