ORK Framework  2.24.0
API Documentation
ORKFramework.Menu.QuantitySelection Class Reference
Inheritance diagram for ORKFramework.Menu.QuantitySelection:
ORKFramework.BaseIndexData ORKFramework.IChoice ORKFramework.BaseData ORKFramework.IChoiceSimple ORKFramework.IBaseData

Public Member Functions

 QuantitySelection (string name)
 
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)
 
void Show (QuantityData data)
 
void Show ()
 
void FocusGained (GUIBox origin)
 
void FocusLost (GUIBox origin)
 
void OutOfBoxClick (GUIBox origin)
 
void Close ()
 
void Closed (GUIBox origin)
 
void ChoiceSelected (int index, GUIBox origin)
 
void ChangeQuantity (int change, bool loop)
 
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

string name = ""
 
int guiBoxID = 0
 
bool useTitle = false
 
string[] title
 
string[] topMessage = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
string[] quantityMessage = ArrayHelper.CreateArray(ORK.Languages.Count, "%")
 
string[] bottomMessage = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
QuantityInputType type = QuantityInputType.HorizontalButtons
 
QuantityButtons horizontal
 
QuantityButtons vertical
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0
 
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]