37 std::string inStr,
int x,
int y,
int w,
int h,
float scale, SDL_Colour defColour,
38 SDL_Colour hoverColour, SDL_Colour textColour, std::function<
void()> func
50 Button(std::string inStr,
int x,
int y,
int w,
int h,
float scale, std::function<
void()> func);
60 Button(std::string inStr,
int x,
int y,
int w,
int h, std::function<
void()> func);
84 std::function<void()> pressFunc;
94 SDL_Colour hoverColour;
95 SDL_Colour textColour;
101 void setTex(SDL_Colour& colour);
Defines a component for rendering text.
A static utility class for loading and drawing textures.
A component that renders a string of text on the screen.
Definition Text.h:16