diff options
author | Liam <30486941+liamHowatt@users.noreply.github.com> | 2024-08-02 01:46:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 07:46:42 +0200 |
commit | 1d14386b99cdff731cc3367d1d8b5e96ffb8fcea (patch) | |
tree | 6c0ac804a785f54efebd372fd7070a5e2f840036 /src/widgets/checkbox/lv_checkbox.c | |
parent | a8c8275b560fa74b8bdd72d1d180c98d22a33fc8 (diff) | |
download | lvgl-1d14386b99cdff731cc3367d1d8b5e96ffb8fcea.tar.gz lvgl-1d14386b99cdff731cc3367d1d8b5e96ffb8fcea.zip |
refactor(API): don't expose private symbols in lvgl.h. phase-out "_lv*" names (#6068)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Diffstat (limited to 'src/widgets/checkbox/lv_checkbox.c')
-rw-r--r-- | src/widgets/checkbox/lv_checkbox.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/widgets/checkbox/lv_checkbox.c b/src/widgets/checkbox/lv_checkbox.c index ae42e7810..84715da61 100644 --- a/src/widgets/checkbox/lv_checkbox.c +++ b/src/widgets/checkbox/lv_checkbox.c @@ -6,7 +6,9 @@ /********************* * INCLUDES *********************/ -#include "lv_checkbox.h" +#include "../../core/lv_obj_private.h" +#include "../../core/lv_obj_class_private.h" +#include "lv_checkbox_private.h" #if LV_USE_CHECKBOX != 0 #include "../../misc/lv_assert.h" @@ -75,7 +77,7 @@ void lv_checkbox_set_text(lv_obj_t * obj, const char * txt) size_t len; #if LV_USE_ARABIC_PERSIAN_CHARS - len = _lv_text_ap_calc_bytes_count(txt) + 1; + len = lv_text_ap_calc_bytes_count(txt) + 1; #else len = lv_strlen(txt) + 1; #endif @@ -87,7 +89,7 @@ void lv_checkbox_set_text(lv_obj_t * obj, const char * txt) if(NULL == cb->txt) return; #if LV_USE_ARABIC_PERSIAN_CHARS - _lv_text_ap_proc(txt, cb->txt); + lv_text_ap_proc(txt, cb->txt); #else lv_strcpy(cb->txt, txt); #endif |