3#include "ImageElement.hpp"
4#include "TextElement.hpp"
9 Button(std::string text,
int button,
bool dark =
false,
int size = 20,
int width = 0);
14 void updateText(
const char* inc_text);
15 const std::string getText();
17 std::string myLastSeenGamepad =
"";
20 static std::string getControllerButtonImageForPlatform(
int button,
bool isGray,
bool isOutline);
23 static CST_Color colors[2];
int width
width and height of this element (must be manually set, isn't usually calculated (but is in some case...