fix(API): keep ime struct lv_pinyin_dict_t public (#6645)

Signed-off-by: lhdjply <lhdjply@126.com>
This commit is contained in:
Liu Yi
2024-08-08 18:00:47 +08:00
committed by GitHub
parent c4ce53c28b
commit 6264265715
3 changed files with 6 additions and 8 deletions

View File

@@ -257,8 +257,6 @@ typedef struct lv_observer_t lv_observer_t;
typedef struct lv_monkey_config_t lv_monkey_config_t;
typedef struct lv_pinyin_dict_t lv_pinyin_dict_t;
typedef struct lv_ime_pinyin_t lv_ime_pinyin_t;
typedef struct lv_file_explorer_t lv_file_explorer_t;

View File

@@ -32,6 +32,12 @@ typedef enum {
LV_IME_PINYIN_MODE_K9_NUMBER,
} lv_ime_pinyin_mode_t;
/*Data of pinyin_dict*/
typedef struct {
const char * const py;
const char * const py_mb;
} lv_pinyin_dict_t;
/*Data of 9-key input(k9) mode*/
typedef struct {
char py_str[7];

View File

@@ -27,12 +27,6 @@ extern "C" {
* TYPEDEFS
**********************/
/*Data of pinyin_dict*/
struct lv_pinyin_dict_t {
const char * const py;
const char * const py_mb;
};
/*Data of lv_ime_pinyin*/
struct lv_ime_pinyin_t {
lv_obj_t obj;