mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CShellWindow: fix textbox position
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -89,7 +89,7 @@ void CShellWindow::exec()
|
||||
int w_shell = frameBuffer->getScreenWidth();
|
||||
unsigned int lines_max = h_shell / font->getHeight();
|
||||
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){
|
||||
textBox = new CTextBox(cmd.c_str(), font, CTextBox::BOTTOM, &textBoxPosition);
|
||||
textBox->enableSaveScreen(false);
|
||||
|
Reference in New Issue
Block a user