mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +00:00
LibGUI+FontEditor: Allow system emoji to be toggled in GlyphMapWidget
And remove their red backgrounds when visible to not be confused with deletion highlights.
This commit is contained in:
parent
c974e644ec
commit
d9fb838cf6
4 changed files with 32 additions and 5 deletions
|
@ -63,6 +63,8 @@ public:
|
|||
void update_glyph(int);
|
||||
|
||||
void set_highlight_modifications(bool);
|
||||
void set_show_system_emoji(bool);
|
||||
|
||||
void set_glyph_modified(u32 glyph, bool modified);
|
||||
bool glyph_is_modified(u32 glyph);
|
||||
|
||||
|
@ -105,6 +107,7 @@ private:
|
|||
int m_visible_glyphs { 0 };
|
||||
bool m_in_drag_select { false };
|
||||
bool m_highlight_modifications { false };
|
||||
bool m_show_system_emoji { false };
|
||||
HashTable<u32> m_modified_glyphs;
|
||||
Unicode::CodePointRange m_active_range { 0x0000, 0x10FFFF };
|
||||
RefPtr<Core::Timer> m_automatic_selection_scroll_timer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue