aboutsummaryrefslogtreecommitdiff
path: root/util/fbrun/FbRun.hh
diff options
context:
space:
mode:
authorPete Beardmore <pete.beardmore@msn.com>2018-03-04 10:17:31 (GMT)
committerMathias Gumz <akira@fluxbox.org>2018-03-14 06:49:50 (GMT)
commit248b15c25f924c56da457ed144050e65013335b0 (patch)
treec2a98759875c49bb6edd47dfdcdf415ac63edf45 /util/fbrun/FbRun.hh
parented7ea14167e531dc3d7cc3db931f299fcc8c7ba4 (diff)
downloadfluxbox-248b15c25f924c56da457ed144050e65013335b0.zip
fluxbox-248b15c25f924c56da457ed144050e65013335b0.tar.bz2
fbrun, add horizontal padding option
Diffstat (limited to 'util/fbrun/FbRun.hh')
-rw-r--r--util/fbrun/FbRun.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/fbrun/FbRun.hh b/util/fbrun/FbRun.hh
index e351d28..dbba415 100644
--- a/util/fbrun/FbRun.hh
+++ b/util/fbrun/FbRun.hh
@@ -43,6 +43,7 @@ public:
43 void resize(unsigned int width, unsigned int height); 43 void resize(unsigned int width, unsigned int height);
44 void setPrint(bool print) { m_print = print; } 44 void setPrint(bool print) { m_print = print; }
45 void setAutocomplete(bool complete) { m_autocomplete = complete; } 45 void setAutocomplete(bool complete) { m_autocomplete = complete; }
46 void setPadding(int padding);
46 47
47 /// load and reconfigure for new font 48 /// load and reconfigure for new font
48 bool loadFont(const std::string &fontname); 49 bool loadFont(const std::string &fontname);
@@ -89,6 +90,7 @@ private:
89 FbTk::Font m_font; ///< font used to draw command text 90 FbTk::Font m_font; ///< font used to draw command text
90 Display *m_display; ///< display connection 91 Display *m_display; ///< display connection
91 int m_bevel; 92 int m_bevel;
93 int m_padding;
92 FbTk::GContext m_gc; ///< graphic context 94 FbTk::GContext m_gc; ///< graphic context
93 bool m_end; ///< marks when this object is done 95 bool m_end; ///< marks when this object is done
94 96