aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.h
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2023-11-16 17:44:47 -0600
committerLibravatar bigfoot547 <[email protected]>2023-11-16 17:44:47 -0600
commitff292c3477497e03d4cffc1467691e1e6ce54a5c (patch)
treeb7cd01d3f440dafd07bc7538c116997f7fd3ac01 /src/ui.h
initial commit
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h19
1 files changed, 19 insertions, 0 deletions
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 */