FEAT: libwidget.c

This commit is contained in:
boreddevnl
2026-03-22 22:07:30 +01:00
parent 4e8ea5acd2
commit 63749b8734
12 changed files with 1318 additions and 909 deletions

View File

@@ -7,6 +7,7 @@
#include "wm.h"
#include "fat32.h"
#include <stddef.h>
#include "libwidget.h"
// External windows references (for opening other apps)
extern Window win_explorer;
@@ -55,6 +56,16 @@ typedef struct {
int file_context_menu_y;
int file_context_menu_item;
// GUI widgets
widget_button_t btn_primary;
widget_button_t btn_secondary;
widget_button_t btn_dropdown;
widget_button_t btn_back;
widget_button_t btn_up;
widget_button_t btn_fwd;
widget_textbox_t dialog_textbox;
} ExplorerState;
void explorer_init(void);