Parse title from placefile

This commit is contained in:
Dan Paulat 2023-07-22 13:18:51 -05:00
parent 4ee7731023
commit ae1bca3602
2 changed files with 22 additions and 8 deletions

View file

@ -84,11 +84,13 @@ public:
*/
std::vector<std::shared_ptr<DrawItem>> GetDrawItems();
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;