Start adding grid

This commit is contained in:
James Grogan 2022-11-17 17:33:48 +00:00
parent 9301769d58
commit f04d86e0ad
37 changed files with 709 additions and 211 deletions

View file

@ -20,6 +20,9 @@ public:
std::string getContent() const;
std::string getFontLabel() const;
SceneItem* getSceneItem(std::size_t idx) const override;
unsigned getNumSceneItems() const override;
unsigned getWidth() const;
unsigned getHeight() const;
@ -39,6 +42,8 @@ private:
unsigned mWidth{1};
unsigned mHeight{1};
std::unique_ptr<SceneItem> mTextItem;
};
using TextNodetr = std::unique_ptr<TextNode>;