Make placefile settings view editable

This commit is contained in:
Dan Paulat 2023-07-25 23:15:12 -05:00
parent 3ff34caa02
commit 7c21ccaf41
6 changed files with 234 additions and 77 deletions

View file

@ -84,12 +84,14 @@ public:
*/
std::vector<std::shared_ptr<DrawItem>> GetDrawItems();
std::string name() const;
std::string title() const;
std::unordered_map<std::size_t, std::shared_ptr<Font>> fonts();
std::shared_ptr<Font> font(std::size_t i);
static std::shared_ptr<Placefile> Load(const std::string& filename);
static std::shared_ptr<Placefile> Load(std::istream& is);
static std::shared_ptr<Placefile> Load(const std::string& name,
std::istream& is);
private:
class Impl;