mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +00:00
LibDraw: Add Selection and SelectionText system theme colors
This commit is contained in:
parent
033de7efe2
commit
b6eba388e3
16 changed files with 43 additions and 22 deletions
|
@ -74,7 +74,7 @@ void GlyphMapWidget::paint_event(GPaintEvent& event)
|
|||
font().max_glyph_width(),
|
||||
font().glyph_height());
|
||||
if (glyph == m_selected_glyph) {
|
||||
painter.fill_rect(outer_rect, Color::from_rgb(0x84351a));
|
||||
painter.fill_rect(outer_rect, SystemColor::Selection);
|
||||
painter.draw_glyph(inner_rect.location(), glyph, Color::White);
|
||||
} else {
|
||||
painter.draw_glyph(inner_rect.location(), glyph, Color::Black);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue