ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/dclient/include/ncurses/application.hh
Revision: 1.2
Committed: Wed Oct 20 05:09:12 2010 UTC (16 years ago) by sf-pippijn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Log Message:
unused

File Contents

# Content
1 /* application.hh
2 * This file is part of ncursesxx library
3 * Copyright (c) 2003,2004 by Stanislav Ievlev
4 *
5 * This file is covered by the GNU Library General Public License,
6 * which should be included with libncursesxx as the file COPYING.
7 */
8 #ifndef NCURSESXX_APPLICATION_HH__
9 #define NCURSESXX_APPLICATION_HH__
10
11 #include <curses.h>
12
13 namespace ncurses
14 {
15 struct application /**< basic ncurses library initialization */
16 {
17 application (); /**< setup ncurses enviroment */
18 virtual ~application (); /**< reset default terminal settings, finish application */
19 int width () const; /**< width of the screen */
20 int height () const; /**< height of the screen */
21 void cursor_on (); /**< turn on cursor */
22 void cursor_off (); /**< turn off cursor */
23
24 private:
25 SCREEN *screen_; /**< main ncurses screen */
26 };
27 }
28
29 #endif