From 1023cd71dccef058112fc2223f07ab6f5757f2d1 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Tue, 12 Nov 2002 16:47:37 +0000
Subject: antialias option and removed display argument in constructor

---
 util/fbrun/FbRun.hh | 5 +++--
 1 file 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 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: FbRun.hh,v 1.1 2002/08/20 02:04:34 fluxgen Exp $
+// $Id: FbRun.hh,v 1.2 2002/11/12 16:47:37 fluxgen Exp $
 
 #ifndef FBRUN_HH
 #define FBRUN_HH
@@ -35,7 +35,7 @@
 */
 class FbRun: public FbTk::EventHandler<XEvent> {
 public:
-	FbRun(Display *disp, int x = 0, int y = 0, size_t width = 200);
+	FbRun(int x = 0, int y = 0, size_t width = 200);
 	~FbRun();
 	void handleEvent(XEvent * const ev);
 	void setText(const std::string &text);
@@ -50,6 +50,7 @@ public:
 	bool loadFont(const std::string &fontname);
 	void setForeground(const XColor &color);
 	void setBackground(const XColor &color);
+	void setAntialias(bool val) { m_font.setAntialias(val); }
 	const FbTk::Font &font() const { return m_font; }
 	/// execute command and exit
 	void run(const std::string &execstring);
-- 
cgit v0.11.2