UFO: Alien Invasion
Loading...
Searching...
No Matches
ui_node_button.h File Reference
#include "../ui_nodes.h"
Include dependency graph for ui_node_button.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  uiButtonNode
struct  buttonExtraData_t

Functions

void UI_RegisterButtonNode (uiBehaviour_t *behaviour)
void UI_Button_SetBackgroundByName (uiNode_t *node, const char *name)
void UI_Button_SetIconByName (uiNode_t *node, const char *name)

Function Documentation

◆ UI_Button_SetBackgroundByName()

void UI_Button_SetBackgroundByName ( uiNode_t * node,
const char * name )

Definition at line 168 of file ui_node_button.cpp.

References name, UI_EXTRADATA, and UI_GetSpriteByName().

Referenced by uiButtonNode_t_set_background().

◆ UI_Button_SetIconByName()

void UI_Button_SetIconByName ( uiNode_t * node,
const char * name )

Definition at line 173 of file ui_node_button.cpp.

References name, UI_EXTRADATA, and UI_GetSpriteByName().

Referenced by uiButtonNode_t_set_icon().

◆ UI_RegisterButtonNode()