summaryrefslogtreecommitdiff
path: root/Applications/PaintBrush
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-18 10:15:00 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-18 10:18:16 +0200
commit1c0669f010b6859721b5a4594b1e38d4098e43f4 (patch)
tree4acdff111c4f491b62b1eb293117cd3605520bd2 /Applications/PaintBrush
parent2167f6023509078fe4ab1961c684a239bd18e588 (diff)
downloadserenity-1c0669f010b6859721b5a4594b1e38d4098e43f4.zip
LibDraw: Introduce (formerly known as SharedGraphics.)
Instead of LibGUI and WindowServer building their own copies of the drawing and graphics code, let's it in a separate LibDraw library. This avoids building the code twice, and will encourage better separation of concerns. :^)
Diffstat (limited to 'Applications/PaintBrush')
-rw-r--r--Applications/PaintBrush/BucketTool.cpp2
-rw-r--r--Applications/PaintBrush/EraseTool.h2
-rw-r--r--Applications/PaintBrush/PaintableWidget.cpp2
-rw-r--r--Applications/PaintBrush/PenTool.h2
-rw-r--r--Applications/PaintBrush/PickerTool.cpp2
-rw-r--r--Applications/PaintBrush/SprayTool.cpp2
-rw-r--r--Applications/PaintBrush/ToolboxWidget.cpp2
-rw-r--r--Applications/PaintBrush/main.cpp2
8 files changed, 8 insertions, 8 deletions
diff --git a/Applications/PaintBrush/BucketTool.cpp b/Applications/PaintBrush/BucketTool.cpp
index 5f0173ab4e..67c629c392 100644
--- a/Applications/PaintBrush/BucketTool.cpp
+++ b/Applications/PaintBrush/BucketTool.cpp
@@ -3,7 +3,7 @@
#include <AK/Queue.h>
#include <AK/SinglyLinkedList.h>
#include <LibGUI/GPainter.h>
-#include <SharedGraphics/GraphicsBitmap.h>
+#include <LibDraw/GraphicsBitmap.h>
#include <stdio.h>
BucketTool::BucketTool()
diff --git a/Applications/PaintBrush/EraseTool.h b/Applications/PaintBrush/EraseTool.h
index 3616edf324..d2b031e0ec 100644
--- a/Applications/PaintBrush/EraseTool.h
+++ b/Applications/PaintBrush/EraseTool.h
@@ -1,7 +1,7 @@
#pragma once
#include "Tool.h"
-#include <SharedGraphics/Point.h>
+#include <LibDraw/Point.h>
class GMenu;
diff --git a/Applications/PaintBrush/PaintableWidget.cpp b/Applications/PaintBrush/PaintableWidget.cpp
index fee2171fcb..613167beb2 100644
--- a/Applications/PaintBrush/PaintableWidget.cpp
+++ b/Applications/PaintBrush/PaintableWidget.cpp
@@ -1,7 +1,7 @@
#include "PaintableWidget.h"
#include "Tool.h"
#include <LibGUI/GPainter.h>
-#include <SharedGraphics/GraphicsBitmap.h>
+#include <LibDraw/GraphicsBitmap.h>
static PaintableWidget* s_the;
diff --git a/Applications/PaintBrush/PenTool.h b/Applications/PaintBrush/PenTool.h
index 2ef8f7c7aa..3020285e09 100644
--- a/Applications/PaintBrush/PenTool.h
+++ b/Applications/PaintBrush/PenTool.h
@@ -1,7 +1,7 @@
#pragma once
#include "Tool.h"
-#include <SharedGraphics/Point.h>
+#include <LibDraw/Point.h>
class GMenu;
diff --git a/Applications/PaintBrush/PickerTool.cpp b/Applications/PaintBrush/PickerTool.cpp
index 4e2433a374..9077f54f56 100644
--- a/Applications/PaintBrush/PickerTool.cpp
+++ b/Applications/PaintBrush/PickerTool.cpp
@@ -1,5 +1,5 @@
#include "PickerTool.h"
-#include <SharedGraphics/GraphicsBitmap.h>
+#include <LibDraw/GraphicsBitmap.h>
PickerTool::PickerTool()
{
diff --git a/Applications/PaintBrush/SprayTool.cpp b/Applications/PaintBrush/SprayTool.cpp
index e574515354..0ec2cd6bc3 100644
--- a/Applications/PaintBrush/SprayTool.cpp
+++ b/Applications/PaintBrush/SprayTool.cpp
@@ -5,7 +5,7 @@
#include <LibGUI/GPainter.h>
#include <LibGUI/GAction.h>
#include <LibGUI/GMenu.h>
-#include <SharedGraphics/GraphicsBitmap.h>
+#include <LibDraw/GraphicsBitmap.h>
#include <stdio.h>
#include <LibM/math.h>
diff --git a/Applications/PaintBrush/ToolboxWidget.cpp b/Applications/PaintBrush/ToolboxWidget.cpp
index b4a97187e4..07475cd504 100644
--- a/Applications/PaintBrush/ToolboxWidget.cpp
+++ b/Applications/PaintBrush/ToolboxWidget.cpp
@@ -7,7 +7,7 @@
#include "EraseTool.h"
#include <LibGUI/GBoxLayout.h>
#include <LibGUI/GButton.h>
-#include <SharedGraphics/PNGLoader.h>
+#include <LibDraw/PNGLoader.h>
class ToolButton final : public GButton {
public:
diff --git a/Applications/PaintBrush/main.cpp b/Applications/PaintBrush/main.cpp
index c5637da19f..19026e7f32 100644
--- a/Applications/PaintBrush/main.cpp
+++ b/Applications/PaintBrush/main.cpp
@@ -9,7 +9,7 @@
#include <LibGUI/GMenuBar.h>
#include <LibGUI/GMessageBox.h>
#include <LibGUI/GWindow.h>
-#include <SharedGraphics/PNGLoader.h>
+#include <LibDraw/PNGLoader.h>
int main(int argc, char** argv)
{