diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-08-05 23:06:24 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2019-08-05 23:06:24 -0400 |
| commit | 243334da75bb765781aedef0b9927af72f6279e8 (patch) | |
| tree | 1aa8608b271024a7b24058555ea6d4359e5241ee /shared-module/displayio/Bitmap.h | |
| parent | b67d04a5b1bd1ed3295627cde3cf8addc1252d6e (diff) | |
| parent | 1e8800117a8b727fbee708bc352e958498f45472 (diff) | |
Merge remote-tracking branch 'adafruit/master' into ble-pairing
Diffstat (limited to 'shared-module/displayio/Bitmap.h')
| -rw-r--r-- | shared-module/displayio/Bitmap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shared-module/displayio/Bitmap.h b/shared-module/displayio/Bitmap.h index 48ca9e2cf..f4bd7ce4d 100644 --- a/shared-module/displayio/Bitmap.h +++ b/shared-module/displayio/Bitmap.h @@ -31,6 +31,7 @@ #include <stdint.h> #include "py/obj.h" +#include "shared-module/displayio/area.h" typedef struct { mp_obj_base_t base; @@ -41,8 +42,12 @@ typedef struct { uint8_t bits_per_value; uint8_t x_shift; size_t x_mask; + displayio_area_t dirty_area; uint16_t bitmask; bool read_only; } displayio_bitmap_t; +void displayio_bitmap_finish_refresh(displayio_bitmap_t *self); +displayio_area_t* displayio_bitmap_get_refresh_areas(displayio_bitmap_t *self, displayio_area_t* tail); + #endif // MICROPY_INCLUDED_SHARED_MODULE_DISPLAYIO_BITMAP_H |
