Move menu and rendering logic into separate files

This commit is contained in:
adnano 2024-02-27 11:23:12 -05:00
parent 1104e8e51b
commit e8782db9c8
10 changed files with 1024 additions and 963 deletions

9
render.h Normal file
View file

@ -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