|
UFO: Alien Invasion
|
#include "ui_node_abstractvalue.h"

Go to the source code of this file.
Data Structures | |
| class | uiSpinnerNode |
| struct | spinnerExtraData_t |
Enumerations | |
| enum | spinnerMode_t { SPINNER_NORMAL , SPINNER_ONLY_INCREASE , SPINNER_ONLY_DECREASE } |
Functions | |
| void | UI_RegisterSpinnerNode (uiBehaviour_t *behaviour) |
| void | UI_Spinner_SetBackgroundByName (uiNode_t *node, const char *name) |
| void | UI_Spinner_SetBottomIconByName (uiNode_t *node, const char *name) |
| void | UI_Spinner_SetTopIconByName (uiNode_t *node, const char *name) |
| enum spinnerMode_t |
Definition at line 29 of file ui_node_spinner.h.
| void UI_RegisterSpinnerNode | ( | uiBehaviour_t * | behaviour | ) |
Background used to display the spinner. It is displayed in the center of the node.
Top icon used to decorate the top button of the spinner. It is displayed in the center of the node.
Sprite used to decorate the bottom button of the spinner. It is displayed in the center of the node.
Spinner mode allow to change the input action of the spinner. SPINNER_NORMAL is the default mode. With SPINNER_ONLY_INC anywhere it click on the node it will increase the value. With SPINNER_ONLY_DEC anywhere it click on the node it will decrease the value.
Draw images in horizontal orientation, also change active touch area for images.
Invert spinner directions, so that down/left will increase value, up/right will decrease it.
Definition at line 240 of file ui_node_spinner.cpp.
References Com_RegisterConstInt(), uiBehaviour_t::extends, EXTRADATA_TYPE, uiBehaviour_t::extraDataSize, uiBehaviour_t::lua_SWIG_typeinfo, uiBehaviour_t::manager, uiBehaviour_t::name, SPINNER_NORMAL, SPINNER_ONLY_DECREASE, SPINNER_ONLY_INCREASE, UI_RegisterExtradataNodeProperty, UI_RegisterSpinnerNode(), UI_SWIG_TypeQuery(), V_BOOL, V_INT, and V_UI_SPRITEREF.
Referenced by UI_RegisterSpinnerNode().
Definition at line 224 of file ui_node_spinner.cpp.
References name, UI_EXTRADATA, UI_GetSpriteByName(), and UI_Spinner_SetBackgroundByName().
Referenced by UI_Spinner_SetBackgroundByName(), and uiSpinnerNode_t_set_background().
Definition at line 229 of file ui_node_spinner.cpp.
References name, UI_EXTRADATA, UI_GetSpriteByName(), and UI_Spinner_SetBottomIconByName().
Referenced by UI_Spinner_SetBottomIconByName(), and uiSpinnerNode_t_set_bottomicon().
Definition at line 234 of file ui_node_spinner.cpp.
References name, UI_EXTRADATA, UI_GetSpriteByName(), and UI_Spinner_SetTopIconByName().
Referenced by UI_Spinner_SetTopIconByName(), and uiSpinnerNode_t_set_topicon().