mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
Messages: move window to top of screen
User request.
Origin commit data
------------------
Commit: 644063d2c8
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-22 (Tue, 22 Nov 2016)
This commit is contained in:
@@ -309,8 +309,8 @@ void CHintBox::addHintItem(const std::string& Text, const int& text_mode, const
|
|||||||
ReSize();
|
ReSize();
|
||||||
|
|
||||||
/* set hint box position general to center and refresh window */
|
/* set hint box position general to center and refresh window */
|
||||||
setCenterPos();
|
setCenterPos(CC_ALONG_X);
|
||||||
|
y = frameBuffer->getScreenY() + ((frameBuffer->getScreenHeight() - height) >> 2),
|
||||||
Refresh();
|
Refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -204,7 +204,8 @@ void CMsgBox::initButtons()
|
|||||||
ccw_footer->enableButtonShadow(CC_SHADOW_ON, OFFSET_SHADOW/2, true);
|
ccw_footer->enableButtonShadow(CC_SHADOW_ON, OFFSET_SHADOW/2, true);
|
||||||
|
|
||||||
//set position of meassage window and refresh window properties
|
//set position of meassage window and refresh window properties
|
||||||
setCenterPos();
|
setCenterPos(CC_ALONG_X);
|
||||||
|
y = frameBuffer->getScreenY() + ((frameBuffer->getScreenHeight() - height) >> 2),
|
||||||
Refresh();
|
Refresh();
|
||||||
|
|
||||||
//set the 1st button as default selected button
|
//set the 1st button as default selected button
|
||||||
|
Reference in New Issue
Block a user