1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-26 20:43:15 +01:00

Changed to toggle video command rather than two separate commands

This commit is contained in:
cnhenry
2015-08-12 08:24:43 -05:00
parent 2cdcbc07a7
commit 8a66c3fa4c
5 changed files with 23 additions and 50 deletions

View File

@@ -216,8 +216,7 @@ static void help_draw_chat(ToxWindow *self)
wattron(win, A_BOLD);
wprintw(win, "\n Video:\n");
wattroff(win, A_BOLD);
wprintw(win, " /video : Send video capture\n");
wprintw(win, " /endvideo : End video capture\n");
wprintw(win, " /video : Toggle video call\n");
#endif /* VIDEO */
help_draw_bottom_menu(win);
@@ -300,7 +299,7 @@ void help_onKey(ToxWindow *self, wint_t key)
case 'c':
#ifdef VIDEO
help_init_window(self, 23, 80);
help_init_window(self, 22, 80);
#elif AUDIO
help_init_window(self, 19, 80);
#else