aboutsummaryrefslogtreecommitdiff
path: root/src/formatter.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/formatter.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/formatter.cpp b/src/formatter.cpp
index 8c06bde..dc4336b 100644
--- a/src/formatter.cpp
+++ b/src/formatter.cpp
@@ -153,6 +153,24 @@ Bu::Formatter::Fmt &Bu::Formatter::Fmt::align( Alignment eAlign )
153 return *this; 153 return *this;
154} 154}
155 155
156Bu::Formatter::Fmt &Bu::Formatter::Fmt::left()
157{
158 this->uAlign = Fmt::Left;
159 return *this;
160}
161
162Bu::Formatter::Fmt &Bu::Formatter::Fmt::center()
163{
164 this->uAlign = Fmt::Center;
165 return *this;
166}
167
168Bu::Formatter::Fmt &Bu::Formatter::Fmt::right()
169{
170 this->uAlign = Fmt::Right;
171 return *this;
172}
173
156Bu::Formatter::Fmt &Bu::Formatter::Fmt::plus( bool bPlus ) 174Bu::Formatter::Fmt &Bu::Formatter::Fmt::plus( bool bPlus )
157{ 175{
158 this->bPlus = bPlus; 176 this->bPlus = bPlus;