FontEditor: Support selection ranges

This makes editing much easier, e.g. you don't need longer to copy
hundreds of glyphs one by one.

It has some flaws, e.g. it's not integrated with undo stack,
but we need to start with something!
This commit is contained in:
Maciej 2022-01-04 18:24:06 +01:00 committed by Andreas Kling
commit 1d98499234
Notes: sideshowbarker 2024-07-17 21:23:40 +09:00
6 changed files with 283 additions and 163 deletions

View file

@ -55,6 +55,11 @@ private:
void set_scale(i32);
void set_scale_and_save(i32);
void copy_selected_glyphs();
void cut_selected_glyphs();
void paste_glyphs();
void delete_selected_glyphs();
RefPtr<Gfx::BitmapFont> m_edited_font;
RefPtr<GlyphMapWidget> m_glyph_map_widget;