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:
parent
c283429196
commit
cdfa2614b9
6 changed files with 167 additions and 122 deletions
|
@ -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() {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue