mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +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
Notes:
sideshowbarker
2024-07-18 19:12:46 +09:00
Author: https://github.com/thankyouverycool
Commit: 2785e12b76
Pull-request: https://github.com/SerenityOS/serenity/pull/6563
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