srctree

Robin Linden parent 750784e5 f8277665
type/sfml: Allow getting the underlying sf::Font

This is needed for gfx/sfml to be able to use this instead of its ownfont handling.

inlinesplit
type/sfml.h added: 3, removed: 1, total 2
@@ -23,6 +23,8 @@ public:
 
Size measure(std::string_view text, Px font_size) const override;
 
sf::Font const &sf_font() const { return font_; }
 
private:
sf::Font font_{};
};