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 /Games/Snake | |
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 'Games/Snake')
-rw-r--r-- | Games/Snake/Makefile | 2 | ||||
-rw-r--r-- | Games/Snake/SnakeGame.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Games/Snake/Makefile b/Games/Snake/Makefile index f0af9d7cef..3c3e15e437 100644 --- a/Games/Snake/Makefile +++ b/Games/Snake/Makefile @@ -11,7 +11,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/Games/Snake/SnakeGame.cpp b/Games/Snake/SnakeGame.cpp index 7229895159..ed388926ee 100644 --- a/Games/Snake/SnakeGame.cpp +++ b/Games/Snake/SnakeGame.cpp @@ -1,7 +1,7 @@ #include "SnakeGame.h" #include <LibGUI/GFontDatabase.h> #include <LibGUI/GPainter.h> -#include <SharedGraphics/GraphicsBitmap.h> +#include <LibDraw/GraphicsBitmap.h> #include <stdlib.h> #include <time.h> |