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 /Applications/Piano | |
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 'Applications/Piano')
-rw-r--r-- | Applications/Piano/Makefile | 16 | ||||
-rw-r--r-- | Applications/Piano/PianoWidget.cpp | 2 |
2 files changed, 2 insertions, 16 deletions
diff --git a/Applications/Piano/Makefile b/Applications/Piano/Makefile index 1e362554df..1e194d9b4a 100644 --- a/Applications/Piano/Makefile +++ b/Applications/Piano/Makefile @@ -6,18 +6,4 @@ OBJS = \ APP = Piano -DEFINES += -DUSERLAND - -all: $(APP) - -$(APP): $(OBJS) - $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -lcore -lc -laudio - -.cpp.o: - @echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $< - --include $(OBJS:%.o=%.d) - -clean: - @echo "CLEAN"; rm -f $(APP) $(OBJS) *.d - +include ../Makefile.common diff --git a/Applications/Piano/PianoWidget.cpp b/Applications/Piano/PianoWidget.cpp index 294e0e58ce..ddeed872a0 100644 --- a/Applications/Piano/PianoWidget.cpp +++ b/Applications/Piano/PianoWidget.cpp @@ -1,7 +1,7 @@ #include "PianoWidget.h" #include <AK/Queue.h> #include <LibGUI/GPainter.h> -#include <SharedGraphics/GraphicsBitmap.h> +#include <LibDraw/GraphicsBitmap.h> #include <math.h> PianoWidget::PianoWidget() |