mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
improve window animation for 32bit lcd
This commit is contained in:
parent
6483b5cbe5
commit
a701673a32
@ -2,6 +2,7 @@
|
||||
* 2020/09/11
|
||||
* 支持 packed 图片。
|
||||
* 增加 [如何使用 packed 图](docs/how_to_use_packed_image.md)
|
||||
* 修复32位LCD窗口动画截图的问题(感谢朝泽提供补丁)。
|
||||
|
||||
* 2020/09/10
|
||||
* 重构 widget。
|
||||
|
@ -152,6 +152,7 @@ ret_t window_manager_default_snap_curr_window(widget_t* widget, widget_t* curr_w
|
||||
canvas_offline_flush_bitmap(canvas);
|
||||
ENSURE(canvas_offline_bitmap_move_to_new_bitmap(canvas, img) == RET_OK);
|
||||
ENSURE(canvas_offline_destroy(canvas) == RET_OK);
|
||||
img->flags |= BITMAP_FLAG_OPAQUE;
|
||||
#endif
|
||||
|
||||
return RET_OK;
|
||||
@ -237,6 +238,7 @@ ret_t window_manager_default_snap_prev_window(widget_t* widget, widget_t* prev_w
|
||||
canvas_offline_flush_bitmap(canvas);
|
||||
ENSURE(canvas_offline_bitmap_move_to_new_bitmap(canvas, img) == RET_OK);
|
||||
ENSURE(canvas_offline_destroy(canvas) == RET_OK);
|
||||
img->flags |= BITMAP_FLAG_OPAQUE;
|
||||
#endif /*WITH_NANOVG_GPU*/
|
||||
|
||||
if (dialog_highlighter != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user