aboutsummaryrefslogtreecommitdiff
path: root/util/fbrun
diff options
context:
space:
mode:
Diffstat (limited to 'util/fbrun')
-rw-r--r--util/fbrun/FbRun.hh2
-rw-r--r--util/fbrun/main.cc6
2 files changed, 4 insertions, 4 deletions
diff --git a/util/fbrun/FbRun.hh b/util/fbrun/FbRun.hh
index e89d487..e762d7b 100644
--- a/util/fbrun/FbRun.hh
+++ b/util/fbrun/FbRun.hh
@@ -48,7 +48,7 @@ public:
48 /// load and reconfigure for new font 48 /// load and reconfigure for new font
49 bool loadFont(const std::string &fontname); 49 bool loadFont(const std::string &fontname);
50 void setForegroundColor(const FbTk::Color &color); 50 void setForegroundColor(const FbTk::Color &color);
51 void setAntialias(bool val) { m_font.setAntialias(val); } 51 void setAntialias(bool val) { /*m_font.setAntialias(val);*/ }
52 const FbTk::Font &font() const { return m_font; } 52 const FbTk::Font &font() const { return m_font; }
53 /// execute command and exit 53 /// execute command and exit
54 void run(const std::string &execstring); 54 void run(const std::string &execstring);
diff --git a/util/fbrun/main.cc b/util/fbrun/main.cc
index 7cc285d..2a5d331 100644
--- a/util/fbrun/main.cc
+++ b/util/fbrun/main.cc
@@ -119,7 +119,7 @@ int main(int argc, char **argv) {
119 FbTk::App application(display_name.c_str()); 119 FbTk::App application(display_name.c_str());
120 FbRun fbrun; 120 FbRun fbrun;
121 121
122 fbrun.setAntialias(antialias); 122 //fbrun.setAntialias(antialias);
123 123
124 if (fontname.size() != 0) { 124 if (fontname.size() != 0) {
125 if (!fbrun.loadFont(fontname.c_str())) { 125 if (!fbrun.loadFont(fontname.c_str())) {
@@ -140,8 +140,8 @@ int main(int argc, char **argv) {
140 fbrun.resize(fbrun.width(), height); 140 fbrun.resize(fbrun.width(), height);
141 if (set_width) 141 if (set_width)
142 fbrun.resize(width, fbrun.height()); 142 fbrun.resize(width, fbrun.height());
143 if (antialias) 143 //if (antialias)
144 fbrun.setAntialias(antialias); 144 // fbrun.setAntialias(antialias);
145 // expand and load command history 145 // expand and load command history
146 string expanded_filename = FbTk::StringUtil::expandFilename(history_file); 146 string expanded_filename = FbTk::StringUtil::expandFilename(history_file);
147 if (!fbrun.loadHistory(expanded_filename.c_str())) 147 if (!fbrun.loadHistory(expanded_filename.c_str()))