In-work: Python segfaults when adding new objects to module

This commit is contained in:
John McCardle 2023-08-25 21:57:42 -04:00
commit ac0ec4bb71
10 changed files with 529 additions and 16 deletions

View file

@ -10,9 +10,13 @@ public:
//UIMenu() {};
sf::Font & font;
UIMenu(sf::Font & _font);
UIMenu();
std::vector<sf::Text> captions;
std::vector<Button> buttons;
std::vector<IndexSprite> sprites;
/* idea: */ //std::vector<UIDrawable> children; // on the UIBox class?
sf::RectangleShape box;
bool visible = false;
int next_text = 10;