mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
fix the missing chat input line
This commit is contained in:
parent
56bfc6dc45
commit
b2bbcb30c6
1 changed files with 11 additions and 11 deletions
|
@ -672,7 +672,6 @@ draw_console (view_t *view)
|
||||||
static void
|
static void
|
||||||
draw_say (view_t *view)
|
draw_say (view_t *view)
|
||||||
{
|
{
|
||||||
if (key_dest == key_message) {
|
|
||||||
clearnotify = 0;
|
clearnotify = 0;
|
||||||
scr_copytop = 1;
|
scr_copytop = 1;
|
||||||
|
|
||||||
|
@ -684,7 +683,6 @@ draw_say (view_t *view)
|
||||||
DrawInputLine (view->xabs + 40, view->yabs, 1, say_line);
|
DrawInputLine (view->xabs + 40, view->yabs, 1, say_line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
draw_notify (view_t *view)
|
draw_notify (view_t *view)
|
||||||
|
@ -719,6 +717,8 @@ C_DrawConsole (int lines)
|
||||||
{
|
{
|
||||||
if (console_view->ylen != lines)
|
if (console_view->ylen != lines)
|
||||||
view_resize (console_view, console_view->xlen, lines);
|
view_resize (console_view, console_view->xlen, lines);
|
||||||
|
|
||||||
|
say_view->visible = key_dest == key_message;
|
||||||
console_view->visible = lines != 0;
|
console_view->visible = lines != 0;
|
||||||
menu_view->visible = key_dest == key_menu;
|
menu_view->visible = key_dest == key_menu;
|
||||||
|
|
||||||
|
@ -763,7 +763,7 @@ C_Init (void)
|
||||||
con_data.view->draw = view_draw;
|
con_data.view->draw = view_draw;
|
||||||
|
|
||||||
console_view = view_new (0, 0, 320, 200, grav_northwest);
|
console_view = view_new (0, 0, 320, 200, grav_northwest);
|
||||||
say_view = view_new (0, 0, 320, 32, grav_northwest);
|
say_view = view_new (0, 0, 320, 8, grav_northwest);
|
||||||
notify_view = view_new (0, 8, 320, 32, grav_northwest);
|
notify_view = view_new (0, 8, 320, 32, grav_northwest);
|
||||||
menu_view = view_new (0, 0, 320, 200, grav_center);
|
menu_view = view_new (0, 0, 320, 200, grav_center);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue