aboutsummaryrefslogtreecommitdiff
path: root/util/fbrun/FbRun.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/fbrun/FbRun.cc')
-rw-r--r--util/fbrun/FbRun.cc6
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
255void FbRun::setPadding(int padding) {
256 m_padding = padding;
257 FbTk::TextBox::setPadding(padding);
258}
259
254void FbRun::redrawLabel() { 260void FbRun::redrawLabel() {
255 clear(); 261 clear();
256} 262}