- int i;
- /* íÁÌÀÀ ÒÁÍËÕ */
- for (i = 0; i < COLS - MCOLS - 1; i++)
- mvwaddch(main_win, 0, i, ACS_BSBS);
- wattrset(main_win, A_BOLD);
- mvwaddstr(main_win, 0, COLS - MCOLS - strlen(mess) - 2, mess);
- wattrset(main_win, A_NORMAL);
- wrefresh(main_win);
-}
-
-void print_viewtype(char *mess)
-{
- /*
- * note: when used to update with different strlen(mess) than previous one,
- * call print_title() before this one so that the top line gets updated !
- */
- wattrset(main_win, A_BOLD);
- mvwaddstr(main_win, 0, 1, "View: ");
- waddstr(main_win, mess);
- wattrset(main_win, A_NORMAL);
- wrefresh(main_win);
-}
-
-void print_viewtype_rssi()
-{
- switch (sts_viewtype) {
- case dBm:
- print_viewtype("RSSI in dBm");
- return;
- case percentage:
- print_viewtype("RSSI in percentage");
- return;
- case rawval:
- print_viewtype("RSSI in raw values");
- }