diff options
author | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2023-10-31 19:25:01 +0100 |
---|---|---|
committer | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2023-10-31 19:25:01 +0100 |
commit | a5a58e39d2abbb66b57cf27f3c4a1d25f9ac6b3d (patch) | |
tree | 3046130dce1b174fea713d07843b65ce6374dd4b /examples/widgets/roller/lv_example_roller_3.c | |
parent | d456b1cb4da4795e3b2f64ec484f624fa127471d (diff) | |
download | lvgl-a5a58e39d2abbb66b57cf27f3c4a1d25f9ac6b3d.tar.gz lvgl-a5a58e39d2abbb66b57cf27f3c4a1d25f9ac6b3d.zip |
refactor: replace lv_coord_t with int32_t
Diffstat (limited to 'examples/widgets/roller/lv_example_roller_3.c')
-rw-r--r-- | examples/widgets/roller/lv_example_roller_3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/roller/lv_example_roller_3.c b/examples/widgets/roller/lv_example_roller_3.c index 1dd320899..5d5fffa5f 100644 --- a/examples/widgets/roller/lv_example_roller_3.c +++ b/examples/widgets/roller/lv_example_roller_3.c @@ -17,8 +17,8 @@ static void mask_event_cb(lv_event_t * e) else if(code == LV_EVENT_DRAW_MAIN_BEGIN) { /* add mask */ const lv_font_t * font = lv_obj_get_style_text_font(obj, LV_PART_MAIN); - lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); - lv_coord_t font_h = lv_font_get_line_height(font); + int32_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); + int32_t font_h = lv_font_get_line_height(font); lv_area_t roller_coords; lv_obj_get_coords(obj, &roller_coords); |