Обновлен пример.
This commit is contained in:
parent
cd4b621180
commit
f6150c9b5f
1 changed files with 5 additions and 1 deletions
|
|
@ -16,11 +16,15 @@ final class Simple : ScreenBase
|
|||
_window.close();
|
||||
}
|
||||
|
||||
_window = new Window(height / 2, width / 2, 0, 0);
|
||||
_window = new Window(height, width, 0, 0);
|
||||
_window.erase();
|
||||
|
||||
_window.border();
|
||||
|
||||
string title = "Для выхода нажать ESC";
|
||||
|
||||
_window.put(height / 2, width / 2 - cast(int) title.length / 2, title);
|
||||
|
||||
_window.refresh();
|
||||
|
||||
return ScreenAction.none();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue