From ff292c3477497e03d4cffc1467691e1e6ce54a5c Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Thu, 16 Nov 2023 17:44:47 -0600 Subject: initial commit --- src/ui.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/ui.h (limited to 'src/ui.h') diff --git a/src/ui.h b/src/ui.h new file mode 100644 index 0000000..7d78934 --- /dev/null +++ b/src/ui.h @@ -0,0 +1,19 @@ +#ifndef UMPS_UI_H_INCLUDED +#define UMPS_UI_H_INCLUDED + +/* window data types */ + +#include "config.h" + +/* base window type */ +struct ui_window_base; /* base window type */ +struct ui_window_dock; /* dock window type: has windows docked at the four cardinal directions and center */ +struct ui_window_root; /* the root window: a special dock window with a possible list of floating/dialog windows */ + +void ui_init(void); /* sets up the UI */ + +void ui_handle(void); /* handles the UI */ + +extern struct ui_window_root *ui_root; + +#endif /* include guard */ -- cgit v1.2.3-70-g09d2