⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

render_icon

Function render_icon 

Source
pub fn render_icon(
    buffer: &mut [u32],
    buf_width: u32,
    x: u32,
    y: u32,
    size: u32,
    icon: AppIcon,
)
Expand description

Render a simple geometric icon for an application type.

Uses basic line/shape drawing (no bitmaps) into a u32 XRGB8888 buffer.