mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-04 13:07:40 +08:00
improve window manager simple
This commit is contained in:
parent
678e1c9b08
commit
6e11cf30d9
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
* 2020/06/15
|
* 2020/06/15
|
||||||
* 完善toast (感谢培煌提供补丁)
|
* 完善toast (感谢培煌提供补丁)
|
||||||
* 修复旋转后online\_fb的line\_length不正确的问(感谢智明提供补丁)。
|
* 修复旋转后online\_fb的line\_length不正确的问题(感谢智明提供补丁)。
|
||||||
|
* 完善window manager simple(感谢智明提供补丁)。
|
||||||
|
|
||||||
* 2020/06/14
|
* 2020/06/14
|
||||||
* 完善 scroll view,增加滚动相关事件。
|
* 完善 scroll view,增加滚动相关事件。
|
||||||
|
@ -372,8 +372,8 @@ static ret_t window_manager_simple_on_event(widget_t* widget, event_t* e) {
|
|||||||
wh_t w = wm->lcd_w;
|
wh_t w = wm->lcd_w;
|
||||||
wh_t h = wm->lcd_h;
|
wh_t h = wm->lcd_h;
|
||||||
if (orientation == LCD_ORIENTATION_90 || orientation == LCD_ORIENTATION_270) {
|
if (orientation == LCD_ORIENTATION_90 || orientation == LCD_ORIENTATION_270) {
|
||||||
w = wm->lcd_w;
|
w = wm->lcd_h;
|
||||||
h = wm->lcd_h;
|
h = wm->lcd_w;
|
||||||
}
|
}
|
||||||
|
|
||||||
lcd_resize(lcd, w, h, 0);
|
lcd_resize(lcd, w, h, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user