feat(gui): LVGL widgets, sleek aerodynamic cursor, right-click context menu, quick settings & settings app
This commit is contained in:
1 parent
7bbcf4567e
commit
2b3e8f0bb6
8 files changed
+948
-238
No files matched your search
@@ -16,6 +16,10 @@ void app_taskmgr_draw(window_t* win);
|
||||
void app_search_draw(window_t* win);
|
||||
void app_term_draw(window_t* win);
|
||||
void app_files_draw(window_t* win);
|
||||
void app_files_click(window_t* win, int32_t mx, int32_t my);
|
||||
void app_settings_draw(window_t* win);
|
||||
void app_settings_click(window_t* win, int32_t mx, int32_t my);
|
||||
void app_code_draw(window_t* win);
|
||||
void app_lockscreen_draw(void);
|
||||
|
||||
/* Launch Application Windows */
|
||||
@@ -23,5 +27,7 @@ window_t* app_launch_taskmgr(void);
|
||||
window_t* app_launch_search(void);
|
||||
window_t* app_launch_terminal(void);
|
||||
window_t* app_launch_files(void);
|
||||
window_t* app_launch_settings(void);
|
||||
window_t* app_launch_code(void);
|
||||
|
||||
#endif /* AIRLYS_APPS_H */
|
||||
@@ -12,6 +12,11 @@
|
||||
|
||||
#define MAX_WINDOWS 8
|
||||
|
||||
#define WALLPAPER_DEFAULT_LOGO 0 /* Authentic Sovereign Logo on Obsidian */
|
||||
#define WALLPAPER_CYBER_AURORA 1 /* Vibrant Cyan-Purple Aurora Vector */
|
||||
#define WALLPAPER_MINIMAL_DARK 2 /* Pure Matte Stealth Dark */
|
||||
#define WALLPAPER_EMERALD_MATRIX 3 /* Cyber Emerald Matrix */
|
||||
|
||||
struct window;
|
||||
typedef void (*window_draw_fn)(struct window* win);
|
||||
|
||||
@@ -37,8 +42,15 @@ void compositor_set_active_window(uint32_t id);
|
||||
|
||||
void compositor_toggle_start_menu(void);
|
||||
void compositor_toggle_lock_screen(void);
|
||||
void compositor_toggle_quick_settings(void);
|
||||
void compositor_close_context_menu(void);
|
||||
|
||||
bool compositor_is_start_menu_open(void);
|
||||
bool compositor_is_lock_screen_open(void);
|
||||
bool compositor_is_quick_settings_open(void);
|
||||
|
||||
void compositor_set_wallpaper(uint32_t wallpaper_id);
|
||||
uint32_t compositor_get_wallpaper(void);
|
||||
|
||||
void compositor_handle_mouse(int32_t x, int32_t y, bool left, bool right);
|
||||
void compositor_render_frame(void);
|
||||
|
||||
@@ -10,9 +10,12 @@
|
||||
#include <airlys/types.h>
|
||||
|
||||
void mouse_init(void);
|
||||
void mouse_poll(void);
|
||||
int32_t mouse_get_x(void);
|
||||
int32_t mouse_get_y(void);
|
||||
bool mouse_is_left_down(void);
|
||||
bool mouse_is_right_down(void);
|
||||
void mouse_move_relative(int32_t dx, int32_t dy);
|
||||
void mouse_set_buttons(bool left, bool right);
|
||||
|
||||
#endif
|
||||
#endif /* AIRLYS_MOUSE_H */
|
||||
Reference in new issue
Block a user