[Lunar-commits] <lconnman> lconnman: make window BLUE
Samuel
samuel.verstraete at gmail.com
Thu Aug 25 23:19:57 CEST 2011
commit 61b4bff09b305598e6ee811b39cf39490ba601c6
Author: Samuel <samuel.verstraete at gmail.com>
Date: Thu Aug 25 23:19:57 2011 +0200
lconnman: make window BLUE
---
src/gui/choice_window.vala | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/gui/choice_window.vala b/src/gui/choice_window.vala
index fe928d2..0a1acff 100644
--- a/src/gui/choice_window.vala
+++ b/src/gui/choice_window.vala
@@ -24,13 +24,14 @@ public class ChoiceWindow {
this.window = new Window (Height, Width, starty, startx);
this.window.bkgdset (COLOR_PAIR(1));
+ this.window.clrtobot();
this.window.keypad (true); //enable the up and down movement;
- this.window.box(0,0);
//this will not work, need to figure out a way, maybe create a new window?
//mvprintw(0,0, "Use arrow keys to go up and down, Press enter to select a choice");
this.print_choice_menu();
+ this.window.box(0,0);
while(true){
c = this.window.getch();
@@ -53,9 +54,6 @@ public class ChoiceWindow {
this.choice = this.highlight;
break;
default:
- //this will not work
- //mvprintw (24, 0, "Character pressed is not valid");
- refresh();
break;
}
this.print_choice_menu();
More information about the Lunar-commits
mailing list