File ColorTree.hpp changed (mode: 100644) (index 74a282e..2456b10) |
... |
... |
public: |
140 |
140 |
explicit ColorTree(Format format); |
explicit ColorTree(Format format); |
141 |
141 |
// Constructs a leaf node with specified text and empty format. |
// Constructs a leaf node with specified text and empty format. |
142 |
142 |
ColorTree(std::wstring text); |
ColorTree(std::wstring text); |
143 |
|
// Constructs a leaf node with specified text specified as a literal. |
|
|
143 |
|
// Constructs a leaf node with text specified as a literal. |
144 |
144 |
template <std::size_t N> |
template <std::size_t N> |
145 |
145 |
ColorTree(const wchar_t (&text)[N]) : text(text, text + N - 1) |
ColorTree(const wchar_t (&text)[N]) : text(text, text + N - 1) |
146 |
146 |
{ } |
{ } |