diff options
-rw-r--r-- | glcdgraphics/bitmap.h | 1 | ||||
-rw-r--r-- | glcdskin/skin.h | 5 | ||||
-rw-r--r-- | tools/lcdtestpattern/Makefile | 2 |
3 files changed, 2 insertions, 6 deletions
diff --git a/glcdgraphics/bitmap.h b/glcdgraphics/bitmap.h index 0528441..c9fd0e0 100644 --- a/glcdgraphics/bitmap.h +++ b/glcdgraphics/bitmap.h @@ -21,6 +21,7 @@ #include <inttypes.h> // graphlcd-base uses ARGB bitmaps instead of 1bit ones +// this flag will be checked in current versions of vdr-graphlcd-plugin #define GRAPHLCD_CBITMAP_ARGB namespace GLCD diff --git a/glcdskin/skin.h b/glcdskin/skin.h index b13db0a..a095ebb 100644 --- a/glcdskin/skin.h +++ b/glcdskin/skin.h @@ -64,13 +64,8 @@ public: bool ParseEnable(const std::string &Text); -#ifdef GRAPHLCD_CBITMAP_ARGB cColor GetBackgroundColor(void) { return config.GetDriver()->GetBackgroundColor(); } cColor GetForegroundColor(void) { return config.GetDriver()->GetForegroundColor(); } -#else - eColor GetBackgroundColor(void) { return config.GetDriver()->GetBackgroundColor(); } - eColor GetForegroundColor(void) { return config.GetDriver()->GetForegroundColor(); } -#endif }; } // end of namespace diff --git a/tools/lcdtestpattern/Makefile b/tools/lcdtestpattern/Makefile index da165e2..4901534 100644 --- a/tools/lcdtestpattern/Makefile +++ b/tools/lcdtestpattern/Makefile @@ -32,7 +32,7 @@ $(DEPFILE): Makefile # The main program: $(PRGNAME): $(OBJS) - $(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcdgraphics -lglcddrivers -lstdc++ -o $(PRGNAME) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcddrivers -lglcdgraphics -lstdc++ -o $(PRGNAME) install: $(PRGNAME) install -d $(BINDIR) |