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

FontEditor: Move menu bar into editor and tweak several widgets

Actions are now shared between menu bar and toolbar. Adds an edit
menu to complement toolbar actions. Glyphs are now passed as ints
instead of u8s; fixes Latin Extended+ glyphs failing to update in
real time on map. Converts weight and type to more human-readable
combo box lists. Selected glyph now scrolls into view on load.
This commit is contained in:
thankyouverycool 2021-04-10 13:40:59 -04:00 committed by Andreas Kling
parent c283429196
commit cdfa2614b9
6 changed files with 167 additions and 122 deletions

View file

@ -51,7 +51,7 @@ public:
Gfx::BitmapFont& font() { return *m_font; }
const Gfx::BitmapFont& font() const { return *m_font; }
Function<void(u8)> on_glyph_altered;
Function<void(int)> on_glyph_altered;
private:
GlyphEditorWidget() {};