mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
CShellWindow: fix textbox position
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: a6537c766b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-03 (Sun, 03 Jan 2016)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -89,7 +89,7 @@ void CShellWindow::exec()
|
|||||||
int w_shell = frameBuffer->getScreenWidth();
|
int w_shell = frameBuffer->getScreenWidth();
|
||||||
unsigned int lines_max = h_shell / font->getHeight();
|
unsigned int lines_max = h_shell / font->getHeight();
|
||||||
list<std::string> lines;
|
list<std::string> lines;
|
||||||
CBox textBoxPosition(frameBuffer->getScreenX(), frameBuffer->getScreenX(), w_shell, h_shell);
|
CBox textBoxPosition(frameBuffer->getScreenX(), frameBuffer->getScreenY(), w_shell, h_shell);
|
||||||
if (textBox == NULL){
|
if (textBox == NULL){
|
||||||
textBox = new CTextBox(cmd.c_str(), font, CTextBox::BOTTOM, &textBoxPosition);
|
textBox = new CTextBox(cmd.c_str(), font, CTextBox::BOTTOM, &textBoxPosition);
|
||||||
textBox->enableSaveScreen(false);
|
textBox->enableSaveScreen(false);
|
||||||
|
Reference in New Issue
Block a user