28 static std::shared_ptr<UILabel>
Create(std::weak_ptr<Window> parent_window, std::string text,
int size = 16);
36 UILabel(std::weak_ptr<Window> parent_window, std::string text,
int size = 16);
43 std::shared_ptr<SDLTextTexture> texture;
VertAlignment
Definition: Utilities.hpp:149
virtual void CustomDraw(DrawContext &c) override
Definition: DrawContext.hpp:65
static std::shared_ptr< UILabel > Create(std::weak_ptr< Window > parent_window, std::string text, int size=16)
void SetAlignment(HorizAlignment h, VertAlignment v=VertAlignment_CENTERED)
void SetTextColor(Color colorname)
void SetText(std::string)
void SetTextSize(int fontsize)
Definition: Alertable.hpp:26
Definition: Utilities.hpp:151
Definition: UILabel.hpp:26
Definition: Utilities.hpp:146
HorizAlignment
Definition: Utilities.hpp:144
static const Color & Get(const std::string &)