mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 11:08:34 +08:00
fix input_method_creator
This commit is contained in:
parent
9273cbf5e5
commit
8d40347c73
4
docs/manual/asset_script_type_t.md
Normal file
4
docs/manual/asset_script_type_t.md
Normal file
@ -0,0 +1,4 @@
|
||||
## asset\_script\_type\_t
|
||||
### 概述
|
||||
脚本资源类型定义。
|
||||
|
@ -33,14 +33,14 @@
|
||||
input_method_t* input_method_create(void) {
|
||||
input_method_t* im = NULL;
|
||||
|
||||
#if defined(WITH_SDL)
|
||||
#if defined(WITH_NULL_IM)
|
||||
im = input_method_null_create();
|
||||
#elif defined(WITH_SDL)
|
||||
if (system_info()->app_type == APP_DESKTOP) {
|
||||
im = input_method_sdl_create();
|
||||
} else {
|
||||
im = input_method_default_create();
|
||||
}
|
||||
#elif defined(WITH_NULL_IM)
|
||||
im = input_method_null_create();
|
||||
#else
|
||||
im = input_method_default_create();
|
||||
#endif /*WITH_SDL*/
|
||||
|
Loading…
Reference in New Issue
Block a user