pub struct HardwareCursor {
pub image: Vec<u32>,
pub format: CursorFormat,
pub x: i32,
pub y: i32,
pub hotspot_x: u32,
pub hotspot_y: u32,
pub enabled: bool,
pub dirty: bool,
}Expand description
Hardware cursor plane state
Fields§
§image: Vec<u32>Cursor image pixels (ARGB8888)
format: CursorFormatCursor format
x: i32Screen position X
y: i32Screen position Y
hotspot_x: u32Hotspot offset X (within cursor image)
hotspot_y: u32Hotspot offset Y (within cursor image)
enabled: boolWhether cursor is visible
dirty: boolDirty flag (needs re-upload to hardware)