diff options
author | 2025-05-18 18:33:16 +0200 | |
---|---|---|
committer | 2025-05-18 18:34:27 +0200 | |
commit | ffa6d38ceb4a29134f00d4a51947f3b359435661 (patch) | |
tree | 1aab8978dbda2528c0dabc4862db9785926482fe /src/main/ui/ui.h | |
parent | 987209dde8f477535a8805aeef9ecf35b7cb5e4f (diff) | |
download | tris-ffa6d38ceb4a29134f00d4a51947f3b359435661.tar.gz tris-ffa6d38ceb4a29134f00d4a51947f3b359435661.zip |
Move UI inside engine
Diffstat (limited to 'src/main/ui/ui.h')
-rw-r--r-- | src/main/ui/ui.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/main/ui/ui.h b/src/main/ui/ui.h deleted file mode 100644 index 06cd515..0000000 --- a/src/main/ui/ui.h +++ /dev/null @@ -1,30 +0,0 @@ -/*- - * Copyright (C) 2025 Alessandro Iezzi <aiezzi AT alessandroiezzi PERIOD it> - * - * 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 <http://www.gnu.org/licenses/>. - */ - -#ifndef __UI_H__ -#define __UI_H__ - -void ui_init(int w, int h); -void ui_loop(void); -void ui_set_title(const char *title); -void ui_set_loop_listener(void (*event)()); -void ui_set_mouse_press_listener(void (*event)()); -void ui_set_generic_listener(void (*generic_event)(int type)); - -#endif /* __UI_H__ */ |