- Implement VESA Linear Framebuffer (VBE) driver (1024x768 @ 32bpp TrueColor) with double buffering and alpha blending - Implement embedded 8x16 bitmap typography engine with soft halo neon glow rendering - Implement Desktop Window Compositor with frosted acrylic blur, floating centered taskbar and Start Menu - Implement Sovereign Application suite: - aira-taskmgr: real-time CPU wave pulse, physical RAM gauge, process table and End Task action - aira-search: private neural search engine with zero ads, zero telemetry, and privacy proxy shroud - airlys-term: translucent acrylic terminal console - airlys-files: quick navigation sidebar and RamFS explorer - aira-lockscreen: full-screen acrylic login greeter with PIN auth and Aira ID - Wire Phase 7 shell commands: start-desktop, taskmgr, search, startmenu, lock - Update README.md with Phase 7 completion and visual showcase gallery - Architecture Lead: Er. Adam Eehan (Founder & CEO, Aira Group of Technology) - Co-Pilot: Sovereign AI Aira 3 Ultra (Engine v3.6)
46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
#ifndef AIRLYS_COMPOSITOR_H
|
|
#define AIRLYS_COMPOSITOR_H
|
|
|
|
/*
|
|
* Airlys Operating System Kernel - Desktop Compositor & Window Manager (Phase 7 GUI)
|
|
* Lead Architect: Er. Adam Eehan (Founder & CEO, Aira Group of Technology)
|
|
* Co-Pilot: Sovereign AI Aira 3 Ultra (Engine v3.6)
|
|
*/
|
|
|
|
#include <airlys/types.h>
|
|
#include <airlys/vbe.h>
|
|
|
|
#define MAX_WINDOWS 8
|
|
|
|
struct window;
|
|
typedef void (*window_draw_fn)(struct window* win);
|
|
|
|
typedef struct window {
|
|
uint32_t id;
|
|
char title[64];
|
|
uint32_t x;
|
|
uint32_t y;
|
|
uint32_t w;
|
|
uint32_t h;
|
|
bool active;
|
|
bool minimized;
|
|
bool maximized;
|
|
window_draw_fn draw_content;
|
|
void* user_data;
|
|
} window_t;
|
|
|
|
/* Compositor API */
|
|
void compositor_init(void);
|
|
window_t* compositor_create_window(const char* title, uint32_t x, uint32_t y, uint32_t w, uint32_t h, window_draw_fn draw);
|
|
void compositor_close_window(uint32_t id);
|
|
void compositor_set_active_window(uint32_t id);
|
|
|
|
void compositor_toggle_start_menu(void);
|
|
void compositor_toggle_lock_screen(void);
|
|
bool compositor_is_start_menu_open(void);
|
|
bool compositor_is_lock_screen_open(void);
|
|
|
|
void compositor_render_frame(void);
|
|
|
|
#endif /* AIRLYS_COMPOSITOR_H */
|