| File ColorTree.cpp changed (mode: 100644) (index 136516f..c8c08b3) |
| ... |
... |
public: |
| 113 |
113 |
{ return current; } |
{ return current; } |
| 114 |
114 |
|
|
| 115 |
115 |
private: |
private: |
| 116 |
|
Format current; // Current format. |
|
|
116 |
|
Format current; // Current format. |
| 117 |
117 |
std::stack<Format> previous; // Previous formats. |
std::stack<Format> previous; // Previous formats. |
| 118 |
|
std::stack<int> fg; // Stack of active foreground colors. |
|
| 119 |
|
std::stack<int> bg; // Stack of active background colors. |
|
| 120 |
|
int boldCounter = 0; // Count bold attribute was encountered. |
|
| 121 |
|
int underlinedCounter = 0; // Count underline attribute was encountered. |
|
|
118 |
|
std::stack<int> fg; // Stack of active foreground colors. |
|
119 |
|
std::stack<int> bg; // Stack of active background colors. |
|
120 |
|
int boldCounter = 0; // Count bold attribute was encountered. |
|
121 |
|
int underlinedCounter = 0; // Count underline attribute was encountered. |
| 122 |
122 |
}; |
}; |
| 123 |
123 |
|
|
| 124 |
124 |
void |
void |