FontEditor: Add adjustable scaling to GlyphEditorWidget

The editor can now be adjusted under the View->Scale menu
This commit is contained in:
thankyouverycool 2021-04-22 14:04:19 -04:00 committed by Andreas Kling
commit 2785e12b76
Notes: sideshowbarker 2024-07-18 19:12:46 +09:00
4 changed files with 48 additions and 0 deletions

View file

@ -31,6 +31,9 @@ public:
Gfx::BitmapFont& font() { return *m_font; }
const Gfx::BitmapFont& font() const { return *m_font; }
int scale() const { return m_scale; }
void set_scale(int scale);
Function<void(int)> on_glyph_altered;
private: