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.