This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Colors are stored in RGBA format | |
/// The first byte is R, the second byte is G, etc. | |
#[derive(Debug)] | |
struct Color(u32); | |
#[derive(Debug)] | |
struct RelDimen { | |
x:i16, y:i16, w:i16, h:i16 | |
} |