mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 10:26:59 +00:00
FEAT: libwidget.c
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user