diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-08-18 23:27:21 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-08-19 21:43:07 +0200 |
commit | d819be1c8161741e1e736521d12c06749af87527 (patch) | |
tree | d9d39e3469896b21be9ffe4b20a9d4c3d2eed553 /src/ui.h | |
parent | c24320b65ab02061223a7460a01360bd997f9e18 (diff) |
* Move ui -> tui
* Add intermediate ui.h file for future implementation of different ui
engines.
* Add include guards
* tui: use object oriented approach
Diffstat (limited to 'src/ui.h')
-rw-r--r-- | src/ui.h | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -14,7 +14,15 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -void ui_cursor_move (int x, int y); -void ui_alternate_buffer_enable (void); -void ui_alternate_buffer_disable (void); +#ifndef UI_H +#define UI_H + +/* TODO: Select this with IFDEFS */ +#include "tui.h" +#define ui tui +#define ui_create tui_create +#define ui_destroy tui_destroy +#define ui_loop tui_loop + +#endif /* UI_H */ |