pub const EIF1_MAGIC_NUMBER: u32 = u32::from_le_bytes(*b"EIF1");
#[repr(C)]
#[derive(Clone, Copy)]
#[allow(dead_code)]
pub struct Rect {
pub x: u16,
pub y: u16,
pub width: u16,
pub height: u16,
}
#[allow(dead_code)]
pub const SCREEN_RECT: Rect = Rect {
x: 0,
y: 0,
width: 320,
height: 240,
};
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[allow(dead_code)]
pub struct FontSize {
pub width: u16,
pub height: u16,
}
#[allow(dead_code)]
pub const SMALL_FONT: FontSize = FontSize {
width: 7,
height: 14,
};
#[allow(dead_code)]
pub const LARGE_FONT: FontSize = FontSize {
width: 10,
height: 18,
};
#[repr(C)]
#[derive(Clone, Copy)]
#[allow(dead_code)]
pub struct Point {
pub x: u16,
pub y: u16,
}