2020-07-20 05:14:27 +01:00
|
|
|
/*
|
|
|
|
* ssheven
|
|
|
|
*
|
|
|
|
* Copyright (c) 2020 by cy384 <cy384@cy384.com>
|
|
|
|
* See LICENSE file for details
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-01-09 22:22:40 +00:00
|
|
|
#include "MacTypes.h"
|
2020-07-20 05:14:27 +01:00
|
|
|
|
2020-07-26 15:13:51 +01:00
|
|
|
void console_setup(void);
|
|
|
|
|
2020-07-20 05:14:27 +01:00
|
|
|
void draw_screen(Rect* r);
|
|
|
|
|
2020-07-26 15:13:51 +01:00
|
|
|
void printf_i(const char* c, ...);
|
|
|
|
|
2020-08-22 02:29:34 +01:00
|
|
|
void check_cursor(void);
|
2020-10-04 17:19:49 +01:00
|
|
|
|
2021-01-23 00:47:48 +00:00
|
|
|
void mouse_click(Point p, int click);
|
2020-12-22 00:38:12 +00:00
|
|
|
|
2020-10-04 17:19:49 +01:00
|
|
|
void update_console_colors(void);
|
2021-01-23 00:47:48 +00:00
|
|
|
|
|
|
|
size_t get_selection(char** selection);
|
2021-01-23 17:45:51 +00:00
|
|
|
|
|
|
|
void clear_selection(void);
|