mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 12:08:16 +08:00
Merge branch 'master' of https://github.com/zlgopen/awtk
This commit is contained in:
commit
913df5a98a
@ -549,8 +549,7 @@ static ret_t slide_menu_on_event(widget_t* widget, event_t* e) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
default: { return RET_OK; }
|
||||
}
|
||||
|
||||
return RET_STOP;
|
||||
|
@ -21,7 +21,7 @@ static ret_t load_image(const char* filename, bitmap_t* image) {
|
||||
memset(info, 0x00, sizeof(asset_info_t));
|
||||
info->size = size;
|
||||
info->type = ASSET_TYPE_IMAGE;
|
||||
info->subtype = 0;
|
||||
info->subtype = ASSET_TYPE_IMAGE_PNG;
|
||||
info->refcount = 1;
|
||||
info->is_in_rom = FALSE;
|
||||
strncpy(info->name, "name", TK_NAME_LEN);
|
||||
|
Loading…
Reference in New Issue
Block a user