1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:07:34 +00:00

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
parent cc781e3d94
commit 2785e12b76
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: