diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-10 16:56:55 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-10 16:56:55 +0200 |
commit | b8062f69d86e0dee9990cbffe627091faf7cc0ba (patch) | |
tree | 558d8ebbc5a2fdb6b6eea955b272c24b675cad06 /LibGUI/GSplitter.cpp | |
parent | 696ada2810948ff6df7ef286ba5346c1d82c1d8c (diff) | |
download | serenity-b8062f69d86e0dee9990cbffe627091faf7cc0ba.zip |
LibCore: Add CEvent and make LibGUI/GEvent inherit from it.
Diffstat (limited to 'LibGUI/GSplitter.cpp')
-rw-r--r-- | LibGUI/GSplitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGUI/GSplitter.cpp b/LibGUI/GSplitter.cpp index cb71bd927e..393dfd4569 100644 --- a/LibGUI/GSplitter.cpp +++ b/LibGUI/GSplitter.cpp @@ -16,14 +16,14 @@ GSplitter::~GSplitter() { } -void GSplitter::enter_event(GEvent&) +void GSplitter::enter_event(CEvent&) { set_background_color(Color::from_rgb(0xd6d2ce)); window()->set_override_cursor(m_orientation == Orientation::Horizontal ? GStandardCursor::ResizeHorizontal : GStandardCursor::ResizeVertical); update(); } -void GSplitter::leave_event(GEvent&) +void GSplitter::leave_event(CEvent&) { set_background_color(Color::LightGray); if (!m_resizing) |