aboutsummaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
authoradnano <me@adnano.co>2024-02-27 11:23:12 -0500
committeradnano <me@adnano.co>2024-02-27 11:23:12 -0500
commite8782db9c840e42827dafa4ec1ca9849f91b9b59 (patch)
tree0a911c8c81ee7459508633e000beb352e6df2d5a /render.h
parent1104e8e51b366e7804b94365f8d6a84752693538 (diff)
downloadwmenu-e8782db9c840e42827dafa4ec1ca9849f91b9b59.tar.gz
Move menu and rendering logic into separate files
Diffstat (limited to 'render.h')
-rw-r--r--render.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/render.h b/render.h
new file mode 100644
index 0000000..af5fb67
--- /dev/null
+++ b/render.h
@@ -0,0 +1,9 @@
+#ifndef WMENU_RENDER_H
+#define WMENU_RENDER_H
+
+#include "menu.h"
+
+void calc_widths(struct menu *menu);
+void render_menu(struct menu *menu);
+
+#endif