diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-28 17:19:56 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-28 17:19:56 +0100 |
commit | 9fa21fa5852fc9b7605d953a3e9f8a9e8bd28864 (patch) | |
tree | 551051e45da768531505855a2df3e3eccd9f3331 /Applications/Terminal | |
parent | 326c6fd607893af0dd6200815540708bc218145d (diff) | |
download | serenity-9fa21fa5852fc9b7605d953a3e9f8a9e8bd28864.zip |
LibGUI: Add a GPainter class that inherits from Painter.
This gets rid of the last little piece of LibGUI knowledge in Painter.
Diffstat (limited to 'Applications/Terminal')
-rw-r--r-- | Applications/Terminal/Terminal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/Terminal/Terminal.cpp b/Applications/Terminal/Terminal.cpp index 1e3a771570..9e85460265 100644 --- a/Applications/Terminal/Terminal.cpp +++ b/Applications/Terminal/Terminal.cpp @@ -8,7 +8,7 @@ #include <AK/AKString.h> #include <AK/StringBuilder.h> #include <SharedGraphics/Font.h> -#include <SharedGraphics/Painter.h> +#include <LibGUI/GPainter.h> #include <AK/StdLibExtras.h> #include <LibGUI/GApplication.h> #include <LibGUI/GWindow.h> @@ -761,7 +761,7 @@ void Terminal::keydown_event(GKeyEvent& event) void Terminal::paint_event(GPaintEvent&) { - Painter painter(*this); + GPainter painter(*this); if (m_needs_background_fill) { m_needs_background_fill = false; |