aboutsummaryrefslogtreecommitdiff
path: root/util/fbrun/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/fbrun/main.cc')
-rw-r--r--util/fbrun/main.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/util/fbrun/main.cc b/util/fbrun/main.cc
index 13da81a..16ca923 100644
--- a/util/fbrun/main.cc
+++ b/util/fbrun/main.cc
@@ -75,7 +75,6 @@ int main(int argc, char **argv) {
75 bool set_height = false, set_width=false; // use height/width of font by default 75 bool set_height = false, set_width=false; // use height/width of font by default
76 bool set_pos = false; // set position 76 bool set_pos = false; // set position
77 bool near_mouse = false; // popup near mouse 77 bool near_mouse = false; // popup near mouse
78 bool antialias = true; // antialias text
79 bool print = false; 78 bool print = false;
80 string fontname; // font name 79 string fontname; // font name
81 string title("Run program"); // default title 80 string title("Run program"); // default title
@@ -114,8 +113,6 @@ int main(int argc, char **argv) {
114 foreground = argv[++i]; 113 foreground = argv[++i];
115 } else if (strcmp(argv[i], "-bg") == 0 && i+1 < argc) { 114 } else if (strcmp(argv[i], "-bg") == 0 && i+1 < argc) {
116 background = argv[++i]; 115 background = argv[++i];
117 } else if (strcmp(argv[i], "-na") == 0) {
118 antialias = false;
119 } else if (strcmp(argv[i], "-hf") == 0 && i+1 < argc) { 116 } else if (strcmp(argv[i], "-hf") == 0 && i+1 < argc) {
120 history_file = argv[++i]; 117 history_file = argv[++i];
121 } else if (arg == "-h" || arg == "-help" || arg == "--help") { 118 } else if (arg == "-h" || arg == "-help" || arg == "--help") {
@@ -154,8 +151,7 @@ int main(int argc, char **argv) {
154 fbrun.resize(fbrun.width(), height); 151 fbrun.resize(fbrun.width(), height);
155 if (set_width) 152 if (set_width)
156 fbrun.resize(width, fbrun.height()); 153 fbrun.resize(width, fbrun.height());
157 //if (antialias) 154
158 // fbrun.setAntialias(antialias);
159 // expand and load command history 155 // expand and load command history
160 string expanded_filename = FbTk::StringUtil::expandFilename(history_file); 156 string expanded_filename = FbTk::StringUtil::expandFilename(history_file);
161 if (!fbrun.loadHistory(expanded_filename.c_str())) 157 if (!fbrun.loadHistory(expanded_filename.c_str()))