UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ui_node_abstractvalue.h File Reference

Define common thing for GUI controls which allow to edit a value (scroolbar, spinner, and more) More...

Go to the source code of this file.

Data Structures

class  uiAbstractValueNode
 
struct  abstractValueExtraData_s
 extradata for common GUI widget which allow to edit a value (scrollbar, spinner, and more) More...
 

Typedefs

typedef struct
abstractValueExtraData_s 
abstractValueExtraData_t
 extradata for common GUI widget which allow to edit a value (scrollbar, spinner, and more) More...
 

Functions

void UI_RegisterAbstractValueNode (uiBehaviour_t *behaviour)
 
float UI_AbstractValue_GetMin (uiNode_t *node)
 
float UI_AbstractValue_GetMax (uiNode_t *node)
 
float UI_AbstractValue_GetValue (uiNode_t *node)
 
float UI_AbstractValue_GetDelta (uiNode_t *node)
 
float UI_AbstractValue_GetLastDiff (uiNode_t *node)
 
float UI_AbstractValue_GetShiftIncreaseFactor (uiNode_t *node)
 
void UI_AbstractValue_IncValue (uiNode_t *node)
 
void UI_AbstractValue_DecValue (uiNode_t *node)
 
void UI_AbstractValue_SetRange (uiNode_t *node, float min, float max)
 
void UI_AbstractValue_SetMin (uiNode_t *node, float min)
 
void UI_AbstractValue_SetMax (uiNode_t *node, float max)
 
void UI_AbstractValue_SetValue (uiNode_t *node, float value)
 
void UI_AbstractValue_SetDelta (uiNode_t *node, float delta)
 
void UI_AbstractValue_SetRangeCvar (uiNode_t *node, const char *min, const char *max)
 
void UI_AbstractValue_SetMinCvar (uiNode_t *node, const char *min)
 
void UI_AbstractValue_SetMaxCvar (uiNode_t *node, const char *max)
 
void UI_AbstractValue_SetValueCvar (uiNode_t *node, const char *value)
 
void UI_AbstractValue_SetShiftIncreaseFactor (uiNode_t *node, float factor)
 

Detailed Description

Define common thing for GUI controls which allow to edit a value (scroolbar, spinner, and more)

Definition in file ui_node_abstractvalue.h.

Typedef Documentation

extradata for common GUI widget which allow to edit a value (scrollbar, spinner, and more)

Note
: min, max, value and delta are reference floats, these pointers can point to a real float or to a string.
See also
UI_GetReferenceFloat

Function Documentation

float UI_AbstractValue_GetDelta ( uiNode_t node)
float UI_AbstractValue_GetLastDiff ( uiNode_t node)
float UI_AbstractValue_GetMax ( uiNode_t node)
float UI_AbstractValue_GetMin ( uiNode_t node)
float UI_AbstractValue_GetShiftIncreaseFactor ( uiNode_t node)
float UI_AbstractValue_GetValue ( uiNode_t node)
void UI_AbstractValue_SetDelta ( uiNode_t node,
float  delta 
)
void UI_AbstractValue_SetMaxCvar ( uiNode_t node,
const char *  max 
)
void UI_AbstractValue_SetMinCvar ( uiNode_t node,
const char *  min 
)
void UI_AbstractValue_SetRange ( uiNode_t node,
float  min,
float  max 
)
void UI_AbstractValue_SetRangeCvar ( uiNode_t node,
const char *  min,
const char *  max 
)
void UI_AbstractValue_SetShiftIncreaseFactor ( uiNode_t node,
float  factor 
)

Definition at line 400 of file ui_node_abstractvalue.cpp.

References EXTRADATA.

Referenced by uiAbstractValueNode_t_set_shiftmultiplier().

void UI_AbstractValue_SetValue ( uiNode_t node,
float  value 
)
void UI_AbstractValue_SetValueCvar ( uiNode_t node,
const char *  value 
)