Operation Null Mind
0.4.1
A 2D roguelike top down shooter game made with SDL2
Loading...
Searching...
No Matches
UI_button.h
Go to the documentation of this file.
1
10
#include <
UI.h
>
11
12
typedef
struct
{
13
char
*
text
;
14
SDL_Texture*
textTexture
;
15
SDL_Texture*
normalTexture
;
16
SDL_Texture*
hoverTexture
;
17
SDL_Texture*
pressedTexture
;
18
SDL_Texture*
disabledTexture
;
19
void (*onClick)(void);
20
}
UI_ButtonData
;
UI.h
Defines the base UI element structure for the user interface system.
UI_ButtonData
Definition
UI_button.h:12
UI_ButtonData::hoverTexture
SDL_Texture * hoverTexture
Default state.
Definition
UI_button.h:16
UI_ButtonData::disabledTexture
SDL_Texture * disabledTexture
Pressed state.
Definition
UI_button.h:18
UI_ButtonData::textTexture
SDL_Texture * textTexture
Button text.
Definition
UI_button.h:14
UI_ButtonData::text
char * text
Definition
UI_button.h:13
UI_ButtonData::normalTexture
SDL_Texture * normalTexture
Pre-rendered text.
Definition
UI_button.h:15
UI_ButtonData::pressedTexture
SDL_Texture * pressedTexture
Mouse-over state.
Definition
UI_button.h:17
include
Core
UI
UI_button.h
Generated by
1.9.8