add to .h and format code
This commit is contained in:
parent
2cd5d4f5a5
commit
1329fe998c
@ -439,8 +439,8 @@ STATIC mp_obj_t displayio_display_obj_set_root_group(mp_obj_t self_in, mp_obj_t
|
|||||||
MP_DEFINE_CONST_FUN_OBJ_2(displayio_display_set_root_group_obj, displayio_display_obj_set_root_group);
|
MP_DEFINE_CONST_FUN_OBJ_2(displayio_display_set_root_group_obj, displayio_display_obj_set_root_group);
|
||||||
|
|
||||||
MP_PROPERTY_GETSET(displayio_display_root_group_obj,
|
MP_PROPERTY_GETSET(displayio_display_root_group_obj,
|
||||||
(mp_obj_t)&displayio_display_get_root_group_obj,
|
(mp_obj_t)&displayio_display_get_root_group_obj,
|
||||||
(mp_obj_t)&displayio_display_set_root_group_obj);
|
(mp_obj_t)&displayio_display_set_root_group_obj);
|
||||||
|
|
||||||
|
|
||||||
//| def fill_row(self, y: int, buffer: WriteableBuffer) -> WriteableBuffer:
|
//| def fill_row(self, y: int, buffer: WriteableBuffer) -> WriteableBuffer:
|
||||||
|
@ -67,5 +67,6 @@ bool common_hal_displayio_display_set_brightness(displayio_display_obj_t *self,
|
|||||||
|
|
||||||
mp_obj_t common_hal_displayio_display_get_bus(displayio_display_obj_t *self);
|
mp_obj_t common_hal_displayio_display_get_bus(displayio_display_obj_t *self);
|
||||||
mp_obj_t common_hal_displayio_display_get_root_group(displayio_display_obj_t *self);
|
mp_obj_t common_hal_displayio_display_get_root_group(displayio_display_obj_t *self);
|
||||||
|
mp_obj_t common_hal_displayio_display_set_root_group(displayio_display_obj_t *self, displayio_group_t *root_group);
|
||||||
|
|
||||||
#endif // MICROPY_INCLUDED_SHARED_BINDINGS_DISPLAYIO_DISPLAY_H
|
#endif // MICROPY_INCLUDED_SHARED_BINDINGS_DISPLAYIO_DISPLAY_H
|
||||||
|
Loading…
Reference in New Issue
Block a user