cwidget  0.5.17
Classes | Public Member Functions | Static Public Member Functions | List of all members
cwidget::cwindow Class Reference

Public Member Functions

 cwindow (WINDOW *_win)
 
 cwindow (const cwindow &a)
 
cwindow derwin (int h, int w, int y, int x)
 
int mvwin (int y, int x)
 
void syncup ()
 
int syncok (bool bf)
 
void cursyncup ()
 
void syncdown ()
 
int scroll (int n=1)
 
int addch (chtype ch)
 
int mvaddch (int y, int x, chtype ch)
 
int add_wch (wchar_t wch)
 
int mvadd_wch (int y, int x, wchar_t wch)
 
int add_wch (const cchar_t *cch)
 
int mvadd_wch (int y, int x, const cchar_t *cch)
 
int addstr (const std::wstring &str)
 
int addnstr (const std::wstring &str, int n)
 
int mvaddstr (int y, int x, const std::wstring &str)
 
int mvaddnstr (int y, int x, const std::wstring &str, int n)
 
int addstr (const wchar_t *str)
 
int addnstr (const wchar_t *str, int n)
 
int mvaddstr (int y, int x, const wchar_t *str)
 
int mvaddnstr (int y, int x, const wchar_t *str, int n)
 
int addstr (const char *str)
 
int addnstr (const char *str, int n)
 
int mvaddstr (int y, int x, const char *str)
 
int mvaddnstr (int y, int x, const char *str, int n)
 
int addstr (const wchstring &str)
 
int addnstr (const wchstring &str, size_t n)
 
int mvaddstr (int y, int x, const wchstring &str)
 
int mvaddnstr (int y, int x, const wchstring &str, size_t n)
 
int addstr (const chstring &str)
 
int addnstr (const chstring &str, int n)
 
int mvaddstr (int y, int x, const chstring &str)
 
int mvaddnstr (int y, int x, const chstring &str, int n)
 
int attroff (int attrs)
 
int attron (int attrs)
 
int attrset (int attrs)
 
void bkgdset (const chtype ch)
 
int bkgd (const chtype ch)
 
chtype getbkgd ()
 
int border (chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br)
 
int box (chtype verch, chtype horch)
 
int hline (chtype ch, int n)
 
int vline (chtype ch, int n)
 
int mvhline (int y, int x, chtype ch, int n)
 
int mvvline (int y, int x, chtype ch, int n)
 
int delch ()
 
int mvdelch (int y, int x)
 
int deleteln ()
 
int insdelln (int n)
 
int insertln ()
 
int echochar (chtype ch)
 
int getch ()
 
int mvgetch (int y, int x)
 
int get_wch (wint_t *wch)
 
int mvget_wch (int y, int x, wint_t *wch)
 
int move (int y, int x)
 
void getyx (int &y, int &x)
 
void getparyx (int &y, int &x)
 
void getbegyx (int &y, int &x)
 
void getmaxyx (int &y, int &x)
 
int getmaxy ()
 
int getmaxx ()
 
void show_string_as_progbar (int x, int y, const std::wstring &s, int attr1, int attr2, int size1, int totalsize)
 
void display_header (std::wstring s, const attr_t attr)
 
void display_status (std::wstring s, const attr_t attr)
 
int overlay (cwindow &dstwin)
 
int overwrite (cwindow &dstwin)
 
int copywin (cwindow &dstwin, int sminrow, int smincol, int dminrow, int dmincol, int dmaxrow, int dmaxcol, int overlay)
 
int refresh ()
 
int noutrefresh ()
 
int touch ()
 
int untouch ()
 
int touchln (int y, int n, int changed)
 
int touchline (int start, int count)
 
int untouchline (int start, int count)
 
int erase ()
 
int clear ()
 
int clrtobot ()
 
int clrtoeol ()
 
int keypad (bool bf)
 
int meta (bool bf)
 
int nodelay (bool bf)
 
int notimeout (bool bf)
 
void timeout (int delay)
 
int clearok (bool bf)
 
int idlok (bool bf)
 
void idcok (bool bf)
 
void immedok (bool bf)
 
int leaveok (bool bf)
 
int setscrreg (int top, int bot)
 
int scrollok (bool bf)
 
int printw (char *str,...)
 
bool enclose (int y, int x)
 
WINDOW * getwin ()
 
 operator bool ()
 
cwindowoperator= (const cwindow &a)
 
bool operator== (cwindow &other)
 
bool operator!= (cwindow &other)
 

Static Public Member Functions

static void remove_cruft ()
 

The documentation for this class was generated from the following files: