diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-08-14 14:17:35 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-08-22 14:08:33 -0700 |
| commit | c247e7df9c043dc6a452a6cabc7bf232c0e9e085 (patch) | |
| tree | f628b7596e7a1b8255fe9a891183c62ccc1858cf /shared-module/displayio/Display.h | |
| parent | d37dd4d758dd2d2a63fd4c9b7989d60560fd4a25 (diff) | |
Begin refresh rework.
Diffstat (limited to 'shared-module/displayio/Display.h')
| -rw-r--r-- | shared-module/displayio/Display.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/shared-module/displayio/Display.h b/shared-module/displayio/Display.h index c85d69b0e..db0a23012 100644 --- a/shared-module/displayio/Display.h +++ b/shared-module/displayio/Display.h @@ -63,7 +63,7 @@ typedef struct { uint8_t set_column_command; uint8_t set_row_command; uint8_t write_ram_command; - bool refresh; + bool auto_refresh; bool single_byte_bounds; bool data_as_commands; bool auto_brightness; @@ -71,11 +71,7 @@ typedef struct { bool full_refresh; // New group means we need to refresh the whole display. } displayio_display_obj_t; -void displayio_display_start_refresh(displayio_display_obj_t* self); -const displayio_area_t* displayio_display_get_refresh_areas(displayio_display_obj_t *self); -bool displayio_display_fill_area(displayio_display_obj_t *self, displayio_area_t* area, uint32_t* mask, uint32_t *buffer); -void displayio_display_update_backlight(displayio_display_obj_t* self); -bool displayio_display_clip_area(displayio_display_obj_t *self, const displayio_area_t* area, displayio_area_t* clipped); +void displayio_display_background(displayio_display_obj_t* self); void release_display(displayio_display_obj_t* self); #endif // MICROPY_INCLUDED_SHARED_MODULE_DISPLAYIO_DISPLAY_H |
