Add some debug boxes around the fonts to figure out why they aren't vertically centered.
This commit is contained in:
parent
45ad16c010
commit
6b9c67beec
3 changed files with 24 additions and 9 deletions
|
@ -17,6 +17,7 @@ namespace gui {
|
|||
GameLevel $level;
|
||||
sf::Font $font;
|
||||
std::unordered_map<std::string, sf::RectangleShape> $shapes;
|
||||
std::unordered_map<std::string, sf::RectangleShape> $label_boxes;
|
||||
std::vector<sf::Text> $labels;
|
||||
CombatUI(GameLevel level);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue