1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
kvisc/vm/pc/console.h

22 lines
554 B
C
Raw Normal View History

2019-06-19 21:41:22 +02:00
// The OS/K Team licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
2019-06-21 19:38:31 +02:00
// Critical ordering
2019-06-19 21:41:22 +02:00
#include <pc/arch.h>
2019-06-19 23:16:30 +02:00
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
2019-06-21 19:38:31 +02:00
#include <pc/keybd.h>
2019-06-19 21:41:22 +02:00
void console_init(ctx_t *ctx);
2019-06-19 23:16:30 +02:00
void console_exit(ctx_t *ctx);
void console_render(ctx_t *ctx);
void console_putat(ctx_t *ctx, char ch, int x, int y);
void console_putc(ctx_t *ctx, char ch);
2019-06-21 19:38:31 +02:00
void console_update(ctx_t *ctx);
2019-07-10 22:37:59 +02:00
void console_clear(ctx_t *ctx);
2019-06-21 19:38:31 +02:00
void console_handle_input(ctx_t *, SDL_Keycode);
2019-06-19 21:41:22 +02:00