From 2a4f067f38fabbf984c8f23b92a1d0e64ec730bf Mon Sep 17 00:00:00 2001 From: David Date: Tue, 4 Feb 2020 12:10:03 +0000 Subject: [PATCH] Tilecolor not actually used --- include/tilecolor.h | 21 --------------------- src/tilecolor.cpp | 6 ------ 2 files changed, 27 deletions(-) delete mode 100644 include/tilecolor.h delete mode 100644 src/tilecolor.cpp diff --git a/include/tilecolor.h b/include/tilecolor.h deleted file mode 100644 index 5732740..0000000 --- a/include/tilecolor.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef TILECOLOR_H -#define TILECOLOR_H - -#include "terminal.h" -#include - -class TileColor -{ -public: - Terminal::Color foreground; - Terminal::Color background; - - TileColor( Terminal::Color _foreground=Terminal::Color::FG_DEFAULT, - Terminal::Color _background=Terminal::Color::BG_DEFAULT ) - : foreground(_foreground), background(_background) - {} - - friend std::ostream& operator<<( std::ostream& os, const TileColor& c ); -}; - -#endif \ No newline at end of file diff --git a/src/tilecolor.cpp b/src/tilecolor.cpp deleted file mode 100644 index a3531c0..0000000 --- a/src/tilecolor.cpp +++ /dev/null @@ -1,6 +0,0 @@ -#include "tilecolor.h" - -std::ostream& operator<<( std::ostream& os, const TileColor& c ) -{ - return os << c.foreground << c.background; -} \ No newline at end of file