pikapython/package/pika_lvgl/pika_lvgl_lv_point_t.c

17 lines
376 B
C
Raw Normal View History

2022-09-17 13:57:17 +08:00
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
2022-08-07 13:09:27 +08:00
#include "lvgl.h"
2022-09-17 13:57:17 +08:00
#else
#include "../../lvgl.h"
#endif
#ifdef PIKASCRIPT
2022-08-07 13:09:27 +08:00
#include "pika_lvgl_point_t.h"
void pika_lvgl_point_t___init__(PikaObj* self) {
lv_point_t lv_point = {0};
args_setStruct(self->list, "lv_point_struct", lv_point);
obj_setPtr(self, "lv_point", args_getStruct(self->list, "lv_point_struct"));
}
2022-09-17 13:57:17 +08:00
#endif