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:
parent
cc781e3d94
commit
2785e12b76
4 changed files with 48 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue