feat(phase-7): implement VBE Linear Framebuffer, acrylic compositor, task manager & sovereign search
- 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)
This commit is contained in:
1 parent
6af5b12ae1
commit
0700184549
12 files changed
+1234
-8
No files matched your search
@@ -0,0 +1,27 @@
|
||||
#ifndef AIRLYS_APPS_H
|
||||
#define AIRLYS_APPS_H
|
||||
|
||||
/*
|
||||
* Airlys Operating System Kernel - Phase 7 Sovereign Applications
|
||||
* Lead Architect: Er. Adam Eehan (Founder & CEO, Aira Group of Technology)
|
||||
* Co-Pilot: Sovereign AI Aira 3 Ultra (Engine v3.6)
|
||||
*/
|
||||
|
||||
#include <airlys/compositor.h>
|
||||
|
||||
void apps_init(void);
|
||||
|
||||
/* Application Window Draw Functions */
|
||||
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_lockscreen_draw(void);
|
||||
|
||||
/* Launch Application Windows */
|
||||
window_t* app_launch_taskmgr(void);
|
||||
window_t* app_launch_search(void);
|
||||
window_t* app_launch_terminal(void);
|
||||
window_t* app_launch_files(void);
|
||||
|
||||
#endif /* AIRLYS_APPS_H */
|
||||
@@ -0,0 +1,45 @@
|
||||
#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 */
|
||||
@@ -0,0 +1,20 @@
|
||||
#ifndef AIRLYS_FONT_H
|
||||
#define AIRLYS_FONT_H
|
||||
|
||||
/*
|
||||
* Airlys Operating System Kernel - Typography & Font Rendering Engine
|
||||
* 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>
|
||||
|
||||
#define FONT_CHAR_WIDTH 8
|
||||
#define FONT_CHAR_HEIGHT 16
|
||||
|
||||
/* Typography API */
|
||||
void font_draw_char(uint32_t x, uint32_t y, char c, uint32_t color);
|
||||
void font_draw_string(uint32_t x, uint32_t y, const char* str, uint32_t color);
|
||||
void font_draw_string_glow(uint32_t x, uint32_t y, const char* str, uint32_t color, uint32_t glow_color);
|
||||
|
||||
#endif /* AIRLYS_FONT_H */
|
||||
@@ -0,0 +1,61 @@
|
||||
#ifndef AIRLYS_VBE_H
|
||||
#define AIRLYS_VBE_H
|
||||
|
||||
/*
|
||||
* Airlys Operating System Kernel - VESA / VBE Graphics Engine (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>
|
||||
|
||||
#define VBE_DEFAULT_WIDTH 1024
|
||||
#define VBE_DEFAULT_HEIGHT 768
|
||||
#define VBE_BPP 32
|
||||
|
||||
/* Sovereign Cyber-Fluent Color Palette (ARGB8888) */
|
||||
#define COLOR_OBSIDIAN 0xFF060911
|
||||
#define COLOR_DEEP_BG 0xFF0B101D
|
||||
#define COLOR_CYAN_GLOW 0xFF00F2FE
|
||||
#define COLOR_CYAN_DARK 0xFF006677
|
||||
#define COLOR_FROSTED_GLASS 0xCC111827
|
||||
#define COLOR_TITLEBAR_BG 0xEE0E1626
|
||||
#define COLOR_TASKBAR_BG 0xDD070B14
|
||||
#define COLOR_BORDER_CYAN 0xFF00A3C4
|
||||
#define COLOR_WHITE 0xFFFFFFFF
|
||||
#define COLOR_LIGHT_GREY 0xFFD1D5DB
|
||||
#define COLOR_DARK_GREY 0xFF4B5563
|
||||
#define COLOR_CRIMSON 0xFFFF3366
|
||||
#define COLOR_GREEN_OK 0xFF10B981
|
||||
#define COLOR_AMBER 0xFFF59E0B
|
||||
|
||||
typedef struct {
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
uint32_t bpp;
|
||||
uint32_t pitch;
|
||||
uint32_t* front_buffer;
|
||||
uint32_t* back_buffer;
|
||||
bool initialized;
|
||||
} vbe_screen_t;
|
||||
|
||||
/* Graphics Engine API */
|
||||
void vbe_init(uint32_t width, uint32_t height);
|
||||
vbe_screen_t* vbe_get_screen(void);
|
||||
|
||||
void vbe_putpixel(uint32_t x, uint32_t y, uint32_t color);
|
||||
uint32_t vbe_getpixel(uint32_t x, uint32_t y);
|
||||
void vbe_clear(uint32_t color);
|
||||
|
||||
void vbe_draw_rect(uint32_t x, uint32_t y, uint32_t w, uint32_t h, uint32_t color);
|
||||
void vbe_fill_rect(uint32_t x, uint32_t y, uint32_t w, uint32_t h, uint32_t color);
|
||||
void vbe_blend_rect(uint32_t x, uint32_t y, uint32_t w, uint32_t h, uint32_t color, uint8_t alpha);
|
||||
void vbe_draw_glow_rect(uint32_t x, uint32_t y, uint32_t w, uint32_t h, uint32_t border_color, uint32_t glow_color);
|
||||
|
||||
void vbe_draw_line(int x0, int y0, int x1, int y1, uint32_t color);
|
||||
void vbe_draw_circle(int xc, int yc, int r, uint32_t color);
|
||||
void vbe_fill_circle(int xc, int yc, int r, uint32_t color);
|
||||
|
||||
void vbe_swap_buffers(void);
|
||||
|
||||
#endif /* AIRLYS_VBE_H */
|
||||
Reference in new issue
Block a user