ORK Framework  2.25.2
API Documentation
ORKFramework.UI.IntValueInput Class Reference
Inheritance diagram for ORKFramework.UI.IntValueInput:
ORKFramework.UI.BaseValueInput

Public Member Functions

 IntValueInput (int value, int minValue, int maxValue, string fieldName, NumberInputSettings numberInput)
 
 IntValueInput (int value, int minValue, int maxValue, int change, string fieldName, NumberInputSettings numberInput)
 
void SetChange (int change)
 
void SetMinMax (int min, int realMin, bool canDecrease, int max, int realMax, bool canIncrease)
 
int GetChangeInPoints ()
 
override void CreateField (GUIBox box, ref Rect textBounds, ref float contentHeight, ref float maxXPos, ref float maxValueWidth)
 
override void AlignField (GUIBox box, float newX, float newValueWidth)
 
override bool ShowField (GUIBox box, int index, bool selected)
 
override bool HorizontalChange (int add)
 
override void CreateObject (int index, GUIBox box, GameObject parent, ButtonClick callback)
 
override void ToPool ()
 
override void UpdateObjectInput ()
 
- Public Member Functions inherited from ORKFramework.UI.BaseValueInput
virtual bool OkPressed ()
 

Public Attributes

int initialValue = 0
 
int value = 0
 
- Public Attributes inherited from ORKFramework.UI.BaseValueInput
Rect bounds
 
bool addEmptyLine = false
 
IContentSimple tooltipContent
 
GameObject gameObject
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.UI.BaseValueInput
string fieldName = ""
 
MultiContent fieldNameContent
 
Rect fieldRect
 
bool destroyGameObject = true