mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 12:17:44 +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
|
@ -492,7 +492,7 @@ void HexEditor::paint_event(GPaintEvent& event)
|
|||
text_color = Color::Red;
|
||||
}
|
||||
|
||||
Color highlight_color = Color::from_rgb(0x84351a);
|
||||
Color highlight_color = SystemColor::Selection;
|
||||
auto highlight_flag = false;
|
||||
if (m_selection_start > -1 && m_selection_end > -1) {
|
||||
if (byte_position >= m_selection_start && byte_position <= m_selection_end) {
|
||||
|
@ -541,4 +541,4 @@ void HexEditor::leave_event(CEvent&)
|
|||
{
|
||||
ASSERT(window());
|
||||
window()->set_override_cursor(GStandardCursor::None);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue