В класс Window добавлена функция noutrefresh - копирования содержимого окна или виртуального экрана на виртуальную "область обновления".
This commit is contained in:
parent
59d5650285
commit
bea63a42f1
1 changed files with 7 additions and 1 deletions
|
|
@ -46,7 +46,13 @@ public:
|
||||||
ncuiNotErr!wrefresh(_window);
|
ncuiNotErr!wrefresh(_window);
|
||||||
}
|
}
|
||||||
|
|
||||||
void put(int y, int x, string s) {
|
void noutrefresh()
|
||||||
|
{
|
||||||
|
ncuiNotErr!wnoutrefresh(_window);
|
||||||
|
}
|
||||||
|
|
||||||
|
void put(int y, int x, string s)
|
||||||
|
{
|
||||||
ncuiNotErr!mvwaddnstr(_window, y, x, s.toStringz, s.length.to!int);
|
ncuiNotErr!mvwaddnstr(_window, y, x, s.toStringz, s.length.to!int);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue