From 9c830c48d62edf79855e2ee26870abc4bf39550b Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Fri, 18 Mar 2022 03:22:30 +0200 Subject: [PATCH] clean up includes a bit --- src/Button.cpp | 3 +-- src/Painter.cpp | 2 +- src/Painter.hpp | 2 +- src/Point.hpp | 2 -- src/TopLevelStyles.hpp | 1 - src/Widget.cpp | 1 - src/Window.cpp | 2 +- src/main.cpp | 1 - 8 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/Button.cpp b/src/Button.cpp index 7d322c8..1785786 100644 --- a/src/Button.cpp +++ b/src/Button.cpp @@ -1,8 +1,7 @@ -#include #include "Button.hpp" #include "Box.hpp" #include "Window.hpp" -#include "src/Painter.hpp" +#include "Painter.hpp" #include namespace Raven { diff --git a/src/Painter.cpp b/src/Painter.cpp index a682c47..c745d28 100644 --- a/src/Painter.cpp +++ b/src/Painter.cpp @@ -1,5 +1,5 @@ #include "Painter.hpp" -#include "src/RGB.hpp" +#include "RGB.hpp" namespace Raven { diff --git a/src/Painter.hpp b/src/Painter.hpp index 6f53882..b22451d 100644 --- a/src/Painter.hpp +++ b/src/Painter.hpp @@ -2,7 +2,7 @@ #include "Box.hpp" #include "Point.hpp" -#include "src/RGB.hpp" +#include "RGB.hpp" #include #include diff --git a/src/Point.hpp b/src/Point.hpp index 336cbf0..4104a47 100644 --- a/src/Point.hpp +++ b/src/Point.hpp @@ -1,7 +1,5 @@ #pragma once -#include - namespace Raven { class Point { diff --git a/src/TopLevelStyles.hpp b/src/TopLevelStyles.hpp index 23e45de..7f878ba 100644 --- a/src/TopLevelStyles.hpp +++ b/src/TopLevelStyles.hpp @@ -1,6 +1,5 @@ #pragma once -#include #include "Forward.hpp" #include "pango/pango-font.h" #include "PropMacros.hpp" diff --git a/src/Widget.cpp b/src/Widget.cpp index 2f561f9..192e0e7 100644 --- a/src/Widget.cpp +++ b/src/Widget.cpp @@ -1,4 +1,3 @@ -#include #include #include "Widget.hpp" #include "Events.hpp" diff --git a/src/Window.cpp b/src/Window.cpp index 562aa05..064f05c 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -9,7 +9,7 @@ #include "Window.hpp" #include "Events.hpp" -#include "src/Point.hpp" +#include "Point.hpp" namespace Raven { diff --git a/src/main.cpp b/src/main.cpp index f676ae5..fb43719 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,4 +1,3 @@ -#include #include "Window.hpp" #include "Widget.hpp" #include "Button.hpp"