Starting window output in x position 1

This commit is contained in:
James Booth
2012-02-10 01:28:15 +00:00
parent 4a2ff76059
commit 0e30c795a5
4 changed files with 21 additions and 4 deletions

View File

@@ -29,6 +29,12 @@ void inp_bar_active(int win)
wrefresh(inp_bar);
}
void inp_bar_get_password(void)
{
mvwprintw(inp_bar, 0, 1, "Enter password:");
wrefresh(inp_bar);
}
void inp_bar_print_message(char *msg)
{
mvwprintw(inp_bar, 0, 9, msg);
@@ -46,3 +52,9 @@ void inp_bar_update_time(void)
wrefresh(inp_bar);
inp_put_back();
}
void inp_bar_clear(void)
{
wclear(inp_bar);
wrefresh(inp_bar);
}