From 5c726aea53703620aa4a44cfe3c16bcb2d4cc06a Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Wed, 14 May 2025 23:07:48 +0200 Subject: Add UI management --- src/main/ui/ui.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/main/ui/ui.h (limited to 'src/main/ui/ui.h') diff --git a/src/main/ui/ui.h b/src/main/ui/ui.h new file mode 100644 index 0000000..a98729e --- /dev/null +++ b/src/main/ui/ui.h @@ -0,0 +1,24 @@ +/*- + * This file is part of Tris Game. + * + * Tris Game is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Tris Game is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Tris Game. If not, see . + */ + +#ifndef __UI_H__ +#define __UI_H__ + +void ui_init(void); +void ui_loop(void (*draw_frame)()); + +#endif /* __UI_H__ */ -- cgit v1.2.3