소스 검색

getters for fg, bg in ANSIColor.

Steve Thielemann 4 년 전
부모
커밋
d7a5412aa8
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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);
 
   /**