2020-05-02 05:21:35 -04:00
|
|
|
#ifndef MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_RECTANGLE_H
|
|
|
|
#define MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_RECTANGLE_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "py/obj.h"
|
2021-12-12 22:50:00 -05:00
|
|
|
#include "shared-module/vectorio/__init__.h"
|
2020-05-02 05:21:35 -04:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
mp_obj_base_t base;
|
|
|
|
uint16_t width;
|
|
|
|
uint16_t height;
|
2021-12-12 22:50:00 -05:00
|
|
|
vectorio_event_t on_dirty;
|
2021-08-01 16:01:57 -04:00
|
|
|
mp_obj_t draw_protocol_instance;
|
2020-05-02 05:21:35 -04:00
|
|
|
} vectorio_rectangle_t;
|
|
|
|
|
|
|
|
#endif // MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_RECTANGLE_H
|