Messages: move window to top of screen

User request.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 644063d2c8
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-22 (Tue, 22 Nov 2016)



------------------
This commit was generated by Migit
This commit is contained in:
2016-11-22 11:01:30 +01:00
parent 1f81cb42cd
commit 2484b91dab
2 changed files with 4 additions and 3 deletions

View File

@@ -204,7 +204,8 @@ void CMsgBox::initButtons()
ccw_footer->enableButtonShadow(CC_SHADOW_ON, OFFSET_SHADOW/2, true);
//set position of meassage window and refresh window properties
setCenterPos();
setCenterPos(CC_ALONG_X);
y = frameBuffer->getScreenY() + ((frameBuffer->getScreenHeight() - height) >> 2),
Refresh();
//set the 1st button as default selected button