duncan
Mom and Dad were wrong!
/home/malcolm/tmp/duncan/prototype/0/client/ncwindow.h
00001 #ifndef CLIENT_NCWINDOW_H_
00002 #define CLIENT_NCWINDOW_H_
00003 
00004 #include <ncurses.h>
00005 
00006 namespace client {
00007 
00015 class NCWindow {
00016         private:
00017                 WINDOW* win_;
00018                 unsigned int width_,height_,startr_,startc_;
00019                 bool changed_;
00020         public:
00021                 NCWindow();
00022                 ~NCWindow();
00023 
00024                 void create(unsigned int, unsigned int, unsigned int, unsigned int);
00025                 void set_changed(bool);
00026                 bool changed();
00027                 unsigned int width();
00028                 unsigned int height();
00029                 unsigned int startr();
00030                 unsigned int startc();
00031                 void clear();
00032                 void refresh();
00033                 WINDOW* win();
00034 };
00035 
00036 } // namespace
00037 
00038 #endif
 All Classes Namespaces Functions Variables Typedefs Enumerations