aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/fbrun/FbRun.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/fbrun/FbRun.hh b/util/fbrun/FbRun.hh
index d15e009..ba7bf25 100644
--- a/util/fbrun/FbRun.hh
+++ b/util/fbrun/FbRun.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbRun.hh,v 1.1 2002/08/20 02:04:34 fluxgen Exp $ 22// $Id: FbRun.hh,v 1.2 2002/11/12 16:47:37 fluxgen Exp $
23 23
24#ifndef FBRUN_HH 24#ifndef FBRUN_HH
25#define FBRUN_HH 25#define FBRUN_HH
@@ -35,7 +35,7 @@
35*/ 35*/
36class FbRun: public FbTk::EventHandler<XEvent> { 36class FbRun: public FbTk::EventHandler<XEvent> {
37public: 37public:
38 FbRun(Display *disp, int x = 0, int y = 0, size_t width = 200); 38 FbRun(int x = 0, int y = 0, size_t width = 200);
39 ~FbRun(); 39 ~FbRun();
40 void handleEvent(XEvent * const ev); 40 void handleEvent(XEvent * const ev);
41 void setText(const std::string &text); 41 void setText(const std::string &text);
@@ -50,6 +50,7 @@ public:
50 bool loadFont(const std::string &fontname); 50 bool loadFont(const std::string &fontname);
51 void setForeground(const XColor &color); 51 void setForeground(const XColor &color);
52 void setBackground(const XColor &color); 52 void setBackground(const XColor &color);
53 void setAntialias(bool val) { m_font.setAntialias(val); }
53 const FbTk::Font &font() const { return m_font; } 54 const FbTk::Font &font() const { return m_font; }
54 /// execute command and exit 55 /// execute command and exit
55 void run(const std::string &execstring); 56 void run(const std::string &execstring);