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

draw_title_bar_into_surface

Function draw_title_bar_into_surface 

Source
pub fn draw_title_bar_into_surface(
    pixels: &mut [u8],
    width: usize,
    _total_h: usize,
    wid: u32,
)
Expand description

Draw a title bar (background + title text + close button) into a BGRA surface pixel buffer. The title bar occupies the top 28 rows of the buffer. The window’s title and focus state are read from the WM.