UFO: Alien Invasion
Loading...
Searching...
No Matches
ui_node_abstractvalue.h File Reference

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

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  uiAbstractValueNode
struct  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.

Function Documentation

◆ UI_AbstractValue_DecValue()

◆ UI_AbstractValue_GetDelta()

float UI_AbstractValue_GetDelta ( uiNode_t * node)

◆ UI_AbstractValue_GetLastDiff()

float UI_AbstractValue_GetLastDiff ( uiNode_t * node)

◆ UI_AbstractValue_GetMax()

float UI_AbstractValue_GetMax ( uiNode_t * node)

◆ UI_AbstractValue_GetMin()

float UI_AbstractValue_GetMin ( uiNode_t * node)

◆ UI_AbstractValue_GetShiftIncreaseFactor()

float UI_AbstractValue_GetShiftIncreaseFactor ( uiNode_t * node)

◆ UI_AbstractValue_GetValue()

float UI_AbstractValue_GetValue ( uiNode_t * node)

◆ UI_AbstractValue_IncValue()

◆ UI_AbstractValue_SetDelta()

void UI_AbstractValue_SetDelta ( uiNode_t * node,
float delta )

◆ UI_AbstractValue_SetMax()

◆ UI_AbstractValue_SetMaxCvar()

void UI_AbstractValue_SetMaxCvar ( uiNode_t * node,
const char * max )

◆ UI_AbstractValue_SetMin()

◆ UI_AbstractValue_SetMinCvar()

void UI_AbstractValue_SetMinCvar ( uiNode_t * node,
const char * min )

◆ UI_AbstractValue_SetRange()

void UI_AbstractValue_SetRange ( uiNode_t * node,
float min,
float max )

◆ UI_AbstractValue_SetRangeCvar()

void UI_AbstractValue_SetRangeCvar ( uiNode_t * node,
const char * min,
const char * max )

◆ UI_AbstractValue_SetShiftIncreaseFactor()

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().

◆ UI_AbstractValue_SetValue()

void UI_AbstractValue_SetValue ( uiNode_t * node,
float value )

◆ UI_AbstractValue_SetValueCvar()

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

◆ UI_RegisterAbstractValueNode()