mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CShellWindow: use full screen for shell window
This commit is contained in:
@@ -84,9 +84,11 @@ void CShellWindow::exec()
|
||||
}
|
||||
|
||||
Font *font = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_INFO];
|
||||
unsigned int lines_max = frameBuffer->getScreenHeight() / font->getHeight();
|
||||
int h_shell = frameBuffer->getScreenHeight(true)-1;
|
||||
int w_shell = frameBuffer->getScreenWidth(true)-1;
|
||||
unsigned int lines_max = h_shell / font->getHeight();
|
||||
list<std::string> lines;
|
||||
CBox textBoxPosition(frameBuffer->getScreenX(), frameBuffer->getScreenY(), frameBuffer->getScreenWidth(), frameBuffer->getScreenHeight());
|
||||
CBox textBoxPosition(1, 1, w_shell, h_shell);
|
||||
textBox = new CTextBox(cmd.c_str(), font, CTextBox::BOTTOM, &textBoxPosition);
|
||||
struct pollfd fds;
|
||||
fds.fd = fileno(f);
|
||||
|
Reference in New Issue
Block a user