mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-24 01:11:39 -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 {
|
||||
/* Ordinals map to bit positions reported by CPLD */
|
||||
Right = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue