1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

multi_lang: rename functions

This commit is contained in:
Gabor Kiss-Vamosi 2019-01-16 10:01:22 +01:00
parent d0f42c26cc
commit a7207af953
2 changed files with 4 additions and 4 deletions

View File

@ -241,7 +241,7 @@ void lv_label_set_static_text(lv_obj_t * label, const char * text)
* Only the pointer is saved so the variable must be global, static, or dynamically allocated.
* NULL to disable multiple language for the label.
*/
void lv_label_set_text_multi(lv_obj_t * label, const char ** texts)
void lv_label_set_text_multi_lang(lv_obj_t * label, const char ** texts)
{
#if USE_LV_MULTI_LANG
lv_label_ext_t * ext = lv_obj_get_ext_attr(label);
@ -371,7 +371,7 @@ char * lv_label_get_text(const lv_obj_t * label)
* @param label pointer to a label object
* @return pointer to the array storing the texts. NULL if not specified.
*/
const char ** lv_label_get_text_multi(lv_obj_t * label)
const char ** lv_label_get_text_multi_lang(lv_obj_t * label)
{
#if USE_LV_MULTI_LANG
lv_label_ext_t * ext = lv_obj_get_ext_attr(label);

View File

@ -132,7 +132,7 @@ void lv_label_set_static_text(lv_obj_t * label, const char * text);
* Only the pointer is saved so the variable must be global, static, or dynamically allocated.
* NULL to disable multiple language for the label.
*/
void lv_label_set_text_multi(lv_obj_t * label, const char ** texts);
void lv_label_set_text_multi_lang(lv_obj_t * label, const char ** texts);
/**
* Set the behavior of the label with longer text then the object size
@ -195,7 +195,7 @@ char * lv_label_get_text(const lv_obj_t * label);
* @param label pointer to a label object
* @return pointer to the array storing the texts. NULL if not specified.
*/
const char ** lv_label_get_text_multi(lv_obj_t * label);
const char ** lv_label_get_text_multi_lang(lv_obj_t * label);
/**
* Get the long mode of a label