예제 #1
0
파일: Game.cpp 프로젝트: Mortal/Minesweeper
/**
 * Output the whole thing
 */
void Game::output() {
	TIMERON;
	immedok(window, false);
	werase(window);
	for (CoordinateSetList::const_iterator i = coordbegin(); i != coordend(); ++i) {
		drawtile(*i);
	}
	drawborders();
	immedok(window, true);
	wrefresh(window);
	TIMEROFF;
}
예제 #2
0
파일: tty.c 프로젝트: bloovis/micro-emacs
/*
 * Erase to end of page.
 */
void tteeop(void)
{
  clrtobot ();
  drawborders ();
}