Another checkpoint. Compiling/building/running - Python API tests from in-engine REPL are not passing, though

This commit is contained in:
John McCardle 2023-03-01 21:37:42 -05:00
commit f23dfbe4ba
12 changed files with 127 additions and 22 deletions

View file

@ -2,6 +2,7 @@
#include "Common.h"
#include "Button.h"
#include "IndexSprite.h"
class UIMenu
{
@ -11,7 +12,7 @@ public:
UIMenu(sf::Font & _font);
std::vector<sf::Text> captions;
std::vector<Button> buttons;
std::vector<sf::Sprite> sprites;
std::vector<IndexSprite> sprites;
sf::RectangleShape box;
bool visible = false;
int next_text = 10;
@ -21,7 +22,7 @@ public:
void refresh();
void add_caption(const char* text, int size, sf::Color color);
void add_button(Button b);
void add_sprite(sf::Sprite s);
void add_sprite(IndexSprite s);
protected: