mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-31 10:39:57 -04:00
Add ui::Bitmap for two-color images.
This commit is contained in:
parent
e2a82061d4
commit
deade67fd8
1 changed files with 5 additions and 0 deletions
|
@ -257,6 +257,11 @@ struct Rect {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct Bitmap {
|
||||||
|
const Size size;
|
||||||
|
const uint8_t* const data;
|
||||||
|
};
|
||||||
|
|
||||||
enum class KeyEvent {
|
enum class KeyEvent {
|
||||||
/* Ordinals map to bit positions reported by CPLD */
|
/* Ordinals map to bit positions reported by CPLD */
|
||||||
Right = 0,
|
Right = 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue