From 5a54774474f43ae29716751d6415563a59b92c7d Mon Sep 17 00:00:00 2001 From: pk33 Date: Mon, 11 Nov 2024 18:06:18 +0100 Subject: tidying up and basic input --- include/ui33.h | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) (limited to 'include/ui33.h') diff --git a/include/ui33.h b/include/ui33.h index 7aa489c..22208fe 100644 --- a/include/ui33.h +++ b/include/ui33.h @@ -1,9 +1,29 @@ -#ifndef __UI_H__ -#define __UI_H__ +#ifndef __UI33_H__ +#define __UI33_H__ -void ui_add_message( String fmt, ... ); -void ui_draw_messages( void ); +#define UI33_BLACK 0 +#define UI33_RED 1 +#define UI33_GREEN 2 +#define UI33_BLUE 3 +#define UI33_YELLOW 4 +#define UI33_ORANGE 5 +#define UI33_MAGENTA 6 +#define UI33_CYAN 7 +#define UI33_WHITE 8 -#endif /** UI **/ + +typedef struct { + Size x, y; +} Mouse33; + +extern Mouse33 __mouse; + + +void ui33_add_message( String fmt, ... ); +void ui33_draw_messages( void ); +void ui33_draw_mouse( void ); + + +#endif /** UI33_H **/ -- cgit v1.2.3