3#include "ImageElement.hpp"
4#include "TextElement.hpp"
9 Button(std::string text,
int button,
bool dark =
false,
int size = 20,
int width = 0);
15 void updateText(
const char* inc_text);
16 const std::string getText();
18 std::string myLastSeenGamepad =
"";
21 static std::string getControllerButtonImageForPlatform(
int button,
bool isGray,
bool isOutline);
24 static CST_Color colors[2];
36 bool shouldRenderGlossy();
int width
width and height of this element (must be manually set, isn't usually calculated (but is in some case...
Element * parent
the parent element (can sometimes be null if it isn't set)