diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-18 10:15:00 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-18 10:18:16 +0200 |
commit | 1c0669f010b6859721b5a4594b1e38d4098e43f4 (patch) | |
tree | 4acdff111c4f491b62b1eb293117cd3605520bd2 /DevTools | |
parent | 2167f6023509078fe4ab1961c684a239bd18e588 (diff) | |
download | serenity-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 'DevTools')
-rw-r--r-- | DevTools/VisualBuilder/Makefile | 2 | ||||
-rw-r--r-- | DevTools/VisualBuilder/VBWidget.h | 2 | ||||
-rw-r--r-- | DevTools/VisualBuilder/VBWidgetPropertyModel.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/DevTools/VisualBuilder/Makefile b/DevTools/VisualBuilder/Makefile index e2c88426f8..45a7b94c11 100644 --- a/DevTools/VisualBuilder/Makefile +++ b/DevTools/VisualBuilder/Makefile @@ -16,7 +16,7 @@ DEFINES += -DUSERLAND all: $(APP) $(APP): $(OBJS) - $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -lcore -lc + $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -ldraw -lcore -lc .cpp.o: @echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $< diff --git a/DevTools/VisualBuilder/VBWidget.h b/DevTools/VisualBuilder/VBWidget.h index c2520bab88..d341dbd033 100644 --- a/DevTools/VisualBuilder/VBWidget.h +++ b/DevTools/VisualBuilder/VBWidget.h @@ -6,7 +6,7 @@ #include <AK/RefCounted.h> #include <AK/NonnullRefPtr.h> #include <AK/Weakable.h> -#include <SharedGraphics/Rect.h> +#include <LibDraw/Rect.h> class GPainter; class GVariant; diff --git a/DevTools/VisualBuilder/VBWidgetPropertyModel.cpp b/DevTools/VisualBuilder/VBWidgetPropertyModel.cpp index eaed1184e3..608f7f8502 100644 --- a/DevTools/VisualBuilder/VBWidgetPropertyModel.cpp +++ b/DevTools/VisualBuilder/VBWidgetPropertyModel.cpp @@ -1,7 +1,7 @@ #include "VBWidgetPropertyModel.h" #include "VBProperty.h" #include "VBWidget.h" -#include <SharedGraphics/Font.h> +#include <LibDraw/Font.h> VBWidgetPropertyModel::VBWidgetPropertyModel(VBWidget& widget) : m_widget(widget) |