3#include "ImageElement.hpp"
4#include "TextElement.hpp"
11 Button(std::string text,
int button,
bool dark =
false,
int size = 20,
int width = 0);
17 void updateText(
const std::string &inc_text);
18 const std::string getText();
20 std::string myLastSeenGamepad =
"";
23 static std::string getControllerButtonImageForPlatform(
int button,
bool isGray,
bool isOutline);
32 static CST_Color colors[2];
38 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 (reference only, not owned)