mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-02 07:06:21 +00:00
Renamed input_bar -> status_bar
This commit is contained in:
12
windows.c
12
windows.c
@@ -28,7 +28,7 @@ void gui_init(void)
|
||||
refresh();
|
||||
|
||||
create_title_bar();
|
||||
create_input_bar();
|
||||
create_status_bar();
|
||||
create_input_window();
|
||||
|
||||
_create_windows();
|
||||
@@ -67,7 +67,7 @@ void win_close_win(void)
|
||||
wclear(_wins[_curr_win].win);
|
||||
|
||||
// set it as inactive in the status bar
|
||||
inp_bar_inactive(_curr_win);
|
||||
status_bar_inactive(_curr_win);
|
||||
|
||||
// go back to console window
|
||||
touchwin(_wins[0].win);
|
||||
@@ -117,7 +117,7 @@ void win_show_incomming_msg(char *from, char *message)
|
||||
wprintw(_wins[i].win, line);
|
||||
|
||||
// signify active window in status bar
|
||||
inp_bar_active(i);
|
||||
status_bar_active(i);
|
||||
|
||||
// if its the current window, draw it
|
||||
if (_curr_win == i) {
|
||||
@@ -131,7 +131,7 @@ void win_show_incomming_msg(char *from, char *message)
|
||||
wprintw(_wins[i].win, line);
|
||||
|
||||
// signify active window in status bar
|
||||
inp_bar_active(i);
|
||||
status_bar_active(i);
|
||||
|
||||
// if its the current window, draw it
|
||||
if (_curr_win == i) {
|
||||
@@ -167,7 +167,7 @@ void win_show_outgoing_msg(char *from, char *to, char *message)
|
||||
wprintw(_wins[i].win, line);
|
||||
|
||||
// signify active window in status bar
|
||||
inp_bar_active(i);
|
||||
status_bar_active(i);
|
||||
|
||||
// if its the current window, draw it
|
||||
if (_curr_win == i) {
|
||||
@@ -181,7 +181,7 @@ void win_show_outgoing_msg(char *from, char *to, char *message)
|
||||
wprintw(_wins[i].win, line);
|
||||
|
||||
// signify active window in status bar
|
||||
inp_bar_active(i);
|
||||
status_bar_active(i);
|
||||
|
||||
// if its the current window, draw it
|
||||
if (_curr_win == i) {
|
||||
|
||||
Reference in New Issue
Block a user