summaryrefslogtreecommitdiff
path: root/util/fbrun/FbRun.hh
diff options
context:
space:
mode:
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 405ae3f..6ddbad0 100644
--- a/util/fbrun/FbRun.hh
+++ b/util/fbrun/FbRun.hh
@@ -42,6 +42,7 @@ public:
42 void handleEvent(XEvent * const ev); 42 void handleEvent(XEvent * const ev);
43 void setTitle(const std::string &title); 43 void setTitle(const std::string &title);
44 void resize(unsigned int width, unsigned int height); 44 void resize(unsigned int width, unsigned int height);
45 void setPrint(bool print) { m_print = print; }
45 46
46 /// load and reconfigure for new font 47 /// load and reconfigure for new font
47 bool loadFont(const std::string &fontname); 48 bool loadFont(const std::string &fontname);
@@ -83,6 +84,7 @@ private:
83 void tabCompleteHistory(); 84 void tabCompleteHistory();
84 void tabCompleteApps(); 85 void tabCompleteApps();
85 86
87 bool m_print; ///< the input should be printed to stdout rather than run
86 FbTk::Font m_font; ///< font used to draw command text 88 FbTk::Font m_font; ///< font used to draw command text
87 Display *m_display; ///< display connection 89 Display *m_display; ///< display connection
88 int m_bevel; 90 int m_bevel;