diff options
author | Sebastian Reichel <sre@ring0.de> | 2013-03-26 15:52:57 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2013-03-26 15:52:57 +0100 |
commit | 7bfb48ef84384ff0460f273ea5841fba628d2a46 (patch) | |
tree | 898d019f33a554f03cac91495adcb7165344382e /src/ui/status.vala | |
parent | 03a4e9f901cd36792de2172b4ebb8f6e852fe1cd (diff) | |
download | serial-barcode-scanner-7bfb48ef84384ff0460f273ea5841fba628d2a46.tar.bz2 |
code restructure
Diffstat (limited to 'src/ui/status.vala')
-rw-r--r-- | src/ui/status.vala | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/ui/status.vala b/src/ui/status.vala deleted file mode 100644 index db33820..0000000 --- a/src/ui/status.vala +++ /dev/null @@ -1,24 +0,0 @@ -using Curses; - -public class StatusPanel { - Window win; - - public StatusPanel() { - win = new Window(1, COLS - 2, LINES-1, 1); - win.bkgdset(COLOR_PAIR(2) | Attribute.BOLD); - - win.clrtobot(); - win.refresh(); - } - - public void set(string msg) { - win.mvaddstr(0,1, msg); - win.clrtobot(); - win.refresh(); - } - - public void redraw() { - win.touchwin(); - win.refresh(); - } -} |