Explorar o código

getters for fg, bg in ANSIColor.

Steve Thielemann %!s(int64=4) %!d(string=hai) anos
pai
achega
d7a5412aa8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      door.h

+ 2 - 0
door.h

@@ -158,6 +158,8 @@ public:
   bool operator!=(const ANSIColor &c) const;
   void setFg(COLOR f);
   void setBg(COLOR b);
+  COLOR getFg() { return fg; };
+  COLOR getBg() { return bg; };
   void attr(ATTR a);
 
   /**