Operation Null Mind 0.4.1
A 2D roguelike top down shooter game made with SDL2
 
Loading...
Searching...
No Matches
UI_ButtonData Struct Reference

#include <UI_button.h>

Public Attributes

char * text
 
SDL_Texture * textTexture
 Button text.
 
SDL_Texture * normalTexture
 Pre-rendered text.
 
SDL_Texture * hoverTexture
 Default state.
 
SDL_Texture * pressedTexture
 Mouse-over state.
 
SDL_Texture * disabledTexture
 Pressed state.
 
void(* onClick )(void)
 Disabled state.
 

Member Data Documentation

◆ disabledTexture

SDL_Texture* UI_ButtonData::disabledTexture

Pressed state.

◆ hoverTexture

SDL_Texture* UI_ButtonData::hoverTexture

Default state.

◆ normalTexture

SDL_Texture* UI_ButtonData::normalTexture

Pre-rendered text.

◆ onClick

void(* UI_ButtonData::onClick) (void)

Disabled state.

◆ pressedTexture

SDL_Texture* UI_ButtonData::pressedTexture

Mouse-over state.

◆ text

char* UI_ButtonData::text

◆ textTexture

SDL_Texture* UI_ButtonData::textTexture

Button text.


The documentation for this struct was generated from the following file: