Sfoglia il codice sorgente

getters for fg, bg in ANSIColor.

Steve Thielemann 4 anni fa
parent
commit
d7a5412aa8
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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);
 
   /**