mirror of
https://github.com/lvgl/lvgl.git
synced 2026-09-23 11:45:59 +08:00
fix(api_map): correctly map v8's display rotation types and defines to v9 (#10098)
Build docs / build-and-deploy (push) Has been cancelled
Micropython CI / Build esp32 port (push) Has been cancelled
Micropython CI / Build rp2 port (push) Has been cancelled
Micropython CI / Build stm32 port (push) Has been cancelled
Micropython CI / Build unix port (push) Has been cancelled
Verify that lv_conf_internal.h matches repository state / verify-conf-internal (push) Has been cancelled
Verify code formatting / verify-formatting (push) Has been cancelled
Build docs / build-and-deploy (push) Has been cancelled
Micropython CI / Build esp32 port (push) Has been cancelled
Micropython CI / Build rp2 port (push) Has been cancelled
Micropython CI / Build stm32 port (push) Has been cancelled
Micropython CI / Build unix port (push) Has been cancelled
Verify that lv_conf_internal.h matches repository state / verify-conf-internal (push) Has been cancelled
Verify code formatting / verify-formatting (push) Has been cancelled
This commit is contained in:
+5
-5
@@ -19,10 +19,10 @@ extern "C" {
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
#define LV_DISP_ROTATION_0 LV_DISPLAY_ROTATION_0
|
||||
#define LV_DISP_ROTATION_90 LV_DISPLAY_ROTATION_90
|
||||
#define LV_DISP_ROTATION_180 LV_DISPLAY_ROTATION_180
|
||||
#define LV_DISP_ROTATION_270 LV_DISPLAY_ROTATION_270
|
||||
#define LV_DISP_ROT_NONE LV_DISPLAY_ROTATION_0
|
||||
#define LV_DISP_ROT_90 LV_DISPLAY_ROTATION_90
|
||||
#define LV_DISP_ROT_180 LV_DISPLAY_ROTATION_180
|
||||
#define LV_DISP_ROT_270 LV_DISPLAY_ROTATION_270
|
||||
|
||||
#define LV_DISP_RENDER_MODE_PARTIAL LV_DISPLAY_RENDER_MODE_PARTIAL
|
||||
#define LV_DISP_RENDER_MODE_DIRECT LV_DISPLAY_RENDER_MODE_DIRECT
|
||||
@@ -47,7 +47,7 @@ typedef int32_t lv_coord_t;
|
||||
typedef lv_result_t lv_res_t;
|
||||
typedef lv_image_dsc_t lv_img_dsc_t;
|
||||
typedef lv_display_t lv_disp_t;
|
||||
typedef lv_display_rotation_t lv_disp_rotation_t;
|
||||
typedef lv_display_rotation_t lv_disp_rot_t;
|
||||
typedef lv_display_render_mode_t lv_disp_render_t;
|
||||
typedef lv_anim_completed_cb_t lv_anim_ready_cb_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user