Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
centertext.hpp
Go to the documentation of this file.
1#pragma once
2
5
6namespace gui::widget {
7
14public:
27 static Widget::Ptr make(
28 std::string text,
29 font::Font font,
32 std::shared_ptr<font::Loader> fonts,
33 float y_pos
34 );
35};
36
37}
Definition: centertext.hpp:13
static Widget::Ptr make(std::string text, font::Font font, font::Size size, font::Color color, std::shared_ptr< font::Loader > fonts, float y_pos)
Constructs a unique_ptr for a Flexbox widget that contains a DynText widget.
Definition: centertext.cpp:6
std::unique_ptr< Widget > Ptr
Definition: widget.hpp:45
GLuint color
Definition: glad.h:2250
GLsizeiptr size
Definition: glad.h:1803
Size
Definition: font.hpp:49
Color
Definition: font.hpp:33
Font
Definition: font.hpp:15
Definition: centertext.hpp:6