OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GUIButton Class Reference

#include <GUIButton.h>

Public Member Functions

 GUIButton ()
 
void DrawLabel (std::string_view text, GUIFont *font, Color color, Color shadowColor=colorTable.Black)
 
bool Contains (unsigned int x, unsigned int y)
 
void Release ()
 

Public Attributes

std::string id = {}
 
int uX = 0
 
int uY = 0
 
int uWidth = 0
 
int uHeight = 0
 
int uZ = 0
 
int uW = 0
 
int uButtonType = 0
 
int uData = 0
 
UIMessageType msg = UIMSG_0
 
unsigned int msg_param = 0
 
int field_28 = 0
 
bool field_2C_is_pushed = false
 
GUIWindowpParent = nullptr
 
std::vector< GraphicsImage * > vTextures
 
Io::InputAction action = Io::InputAction::Invalid
 
std::string sLabel = ""
 
std::string field_75 = ""
 

Constructor & Destructor Documentation

◆ GUIButton()

GUIButton::GUIButton ( )
inline

Member Function Documentation

◆ Contains()

bool GUIButton::Contains ( unsigned int  x,
unsigned int  y 
)

◆ DrawLabel()

void GUIButton::DrawLabel ( std::string_view  text,
GUIFont font,
Color  color,
Color  shadowColor = colorTable.Black 
)

◆ Release()

void GUIButton::Release ( )

Member Data Documentation

◆ action

◆ field_28

int GUIButton::field_28 = 0

◆ field_2C_is_pushed

bool GUIButton::field_2C_is_pushed = false

◆ field_75

std::string GUIButton::field_75 = ""

◆ id

std::string GUIButton::id = {}

◆ msg

UIMessageType GUIButton::msg = UIMSG_0

◆ msg_param

unsigned int GUIButton::msg_param = 0

◆ pParent

GUIWindow* GUIButton::pParent = nullptr

◆ sLabel

std::string GUIButton::sLabel = ""

◆ uButtonType

int GUIButton::uButtonType = 0

◆ uData

int GUIButton::uData = 0

◆ uHeight

int GUIButton::uHeight = 0

◆ uW

int GUIButton::uW = 0

◆ uWidth

int GUIButton::uWidth = 0

◆ uX

int GUIButton::uX = 0

◆ uY

int GUIButton::uY = 0

◆ uZ

int GUIButton::uZ = 0

◆ vTextures

std::vector<GraphicsImage*> GUIButton::vTextures

The documentation for this class was generated from the following files: