diff options
Diffstat (limited to 'util/fbrun/FbRun.cc')
-rw-r--r-- | util/fbrun/FbRun.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/fbrun/FbRun.cc b/util/fbrun/FbRun.cc index b5effd6..5404e69 100644 --- a/util/fbrun/FbRun.cc +++ b/util/fbrun/FbRun.cc | |||
@@ -62,6 +62,7 @@ FbRun::FbRun(int x, int y, size_t width): | |||
62 | m_font("fixed"), | 62 | m_font("fixed"), |
63 | m_display(FbTk::App::instance()->display()), | 63 | m_display(FbTk::App::instance()->display()), |
64 | m_bevel(4), | 64 | m_bevel(4), |
65 | m_padding(0), | ||
65 | m_gc(*this), | 66 | m_gc(*this), |
66 | m_end(false), | 67 | m_end(false), |
67 | m_current_history_item(0), | 68 | m_current_history_item(0), |
@@ -251,6 +252,11 @@ void FbRun::resize(unsigned int width, unsigned int height) { | |||
251 | FbTk::TextBox::resize(width, height); | 252 | FbTk::TextBox::resize(width, height); |
252 | } | 253 | } |
253 | 254 | ||
255 | void FbRun::setPadding(int padding) { | ||
256 | m_padding = padding; | ||
257 | FbTk::TextBox::setPadding(padding); | ||
258 | } | ||
259 | |||
254 | void FbRun::redrawLabel() { | 260 | void FbRun::redrawLabel() { |
255 | clear(); | 261 | clear(); |
256 | } | 262 | } |