Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

screendrawbuf Class Reference

#include <htcurses.h>

Inheritance diagram for screendrawbuf:

genericdrawbuf genericdrawbuf genericdrawbuf genericdrawbuf List of all members.

Public Member Functions

 screendrawbuf (char *title)
 ~screendrawbuf ()
virtual void b_fill (int x, int y, int w, int h, int c, int ch)
virtual void b_printchar (int x, int y, int c, int ch)
virtual int b_lprint (int x, int y, int c, int l, char *text)
virtual int b_lprintw (int x, int y, int c, int l, int *text)
virtual void b_resize (int rw, int rh)
virtual void b_rmove (int rx, int ry)
virtual void b_setbounds (bounds *b)
void drawbuffer (drawbuf *buf, int x, int y, bounds *clipping)
void show ()
void getcursor (int *x, int *y)
void hidecursor ()
void showcursor ()
void setcursor (int x, int y)
void setcursormode (bool override)
 screendrawbuf (char *title)
 ~screendrawbuf ()
virtual void b_fill (int x, int y, int w, int h, int c, int ch)
virtual void b_printchar (int x, int y, int c, int ch)
virtual int b_lprint (int x, int y, int c, int l, char *text)
virtual int b_lprintw (int x, int y, int c, int l, int *text)
virtual void b_resize (int rw, int rh)
virtual void b_rmove (int rx, int ry)
virtual void b_setbounds (bounds *b)
void drawbuffer (drawbuf *buf, int x, int y, bounds *clipping)
void show ()
void getcursor (int *x, int *y)
void hidecursor ()
void showcursor ()
void setcursor (int x, int y)
void setcursormode (bool override)
 screendrawbuf (char *title)
 ~screendrawbuf ()
virtual void b_fill (int x, int y, int w, int h, int c, int ch)
virtual void b_printchar (int x, int y, int c, int ch)
virtual int b_lprint (int x, int y, int c, int l, char *text)
virtual int b_lprintw (int x, int y, int c, int l, int *text)
virtual void b_resize (int rw, int rh)
virtual void b_rmove (int rx, int ry)
virtual void b_setbounds (bounds *b)
void drawbuffer (drawbuf *buf, int x, int y, bounds *clipping)
void show ()
void getcursor (int *x, int *y)
void hidecursor ()
void showcursor ()
void setcursor (int x, int y)
void setcursormode (bool override)
 screendrawbuf (char *title)
 ~screendrawbuf ()
virtual void b_fill (int x, int y, int w, int h, int c, int ch)
virtual void b_printchar (int x, int y, int c, int ch)
virtual int b_lprint (int x, int y, int c, int l, char *text)
virtual int b_lprintw (int x, int y, int c, int l, int *text)
virtual void b_resize (int rw, int rh)
virtual void b_rmove (int rx, int ry)
virtual void b_setbounds (bounds *b)
void drawbuffer (drawbuf *buf, int x, int y, bounds *clipping)
void show ()
void getcursor (int *x, int *y)
void hidecursor ()
void showcursor ()
void setcursor (int x, int y)
void setcursormode (bool override)
void put_vc (int dest, char ch, int vc)

Protected Member Functions

bool init_console ()

Protected Attributes

unsigned short * buf
int screensel
int cursorx
int cursory
bool cursorhidden
bool cursoroverwrite
unsigned short * buf
void * buf
bool cursor_visible
bool cursor_redraw

Constructor & Destructor Documentation

screendrawbuf::screendrawbuf char *  title  ) 
 

Definition at line 57 of file djgpp/htcurses.cc.

References b_setbounds(), buf, cursorhidden, cursoroverwrite, cursorx, cursory, hidecursor(), screensel, and show().

screendrawbuf::~screendrawbuf  ) 
 

Definition at line 81 of file djgpp/htcurses.cc.

References b_printchar(), buf, setcursor(), setcursormode(), show(), VC_BLACK, VC_WHITE, and VCP.

screendrawbuf::screendrawbuf char *  title  ) 
 

screendrawbuf::~screendrawbuf  ) 
 

screendrawbuf::screendrawbuf char *  title  ) 
 

screendrawbuf::~screendrawbuf  ) 
 

screendrawbuf::screendrawbuf char *  title  ) 
 

screendrawbuf::~screendrawbuf  ) 
 


Member Function Documentation

virtual void screendrawbuf::b_fill int  x,
int  y,
int  w,
int  h,
int  c,
int  ch
[virtual]
 

Reimplemented from genericdrawbuf.

virtual void screendrawbuf::b_fill int  x,
int  y,
int  w,
int  h,
int  c,
int  ch
[virtual]
 

Reimplemented from genericdrawbuf.

virtual void screendrawbuf::b_fill int  x,
int  y,
int  w,
int  h,
int  c,
int  ch
[virtual]
 

Reimplemented from genericdrawbuf.

void screendrawbuf::b_fill int  x,
int  y,
int  w,
int  h,
int  c,
int  ch
[virtual]
 

Reimplemented from genericdrawbuf.

Definition at line 110 of file djgpp/htcurses.cc.

References buf, and put_vc().

Referenced by b_setbounds().

virtual int screendrawbuf::b_lprint int  x,
int  y,
int  c,
int  l,
char *  text
[virtual]
 

Reimplemented from genericdrawbuf.

virtual int screendrawbuf::b_lprint int  x,
int  y,
int  c,
int  l,
char *  text
[virtual]
 

Reimplemented from genericdrawbuf.

virtual int screendrawbuf::b_lprint int  x,
int  y,
int  c,
int  l,
char *  text
[virtual]
 

Reimplemented from genericdrawbuf.

int screendrawbuf::b_lprint int  x,
int  y,
int  c,
int  l,
char *  text
[virtual]
 

Reimplemented from genericdrawbuf.

Definition at line 130 of file djgpp/htcurses.cc.

References buf, and put_vc().

virtual int screendrawbuf::b_lprintw int  x,
int  y,
int  c,
int  l,
int *  text
[virtual]
 

Reimplemented from genericdrawbuf.

virtual int screendrawbuf::b_lprintw int  x,
int  y,
int  c,
int  l,
int *  text
[virtual]
 

Reimplemented from genericdrawbuf.

virtual int screendrawbuf::b_lprintw int  x,
int  y,
int  c,
int  l,
int *  text
[virtual]
 

Reimplemented from genericdrawbuf.

int screendrawbuf::b_lprintw int  x,
int  y,
int  c,
int  l,
int *  text
[virtual]
 

Reimplemented from genericdrawbuf.

Definition at line 143 of file djgpp/htcurses.cc.

References buf, and put_vc().

virtual void screendrawbuf::b_printchar int  x,
int  y,
int  c,
int  ch
[virtual]
 

Reimplemented from genericdrawbuf.

virtual void screendrawbuf::b_printchar int  x,
int  y,
int  c,
int  ch
[virtual]
 

Reimplemented from genericdrawbuf.

virtual void screendrawbuf::b_printchar int  x,
int  y,
int  c,
int  ch
[virtual]
 

Reimplemented from genericdrawbuf.

void screendrawbuf::b_printchar int  x,
int  y,
int  c,
int  ch
[virtual]
 

Reimplemented from genericdrawbuf.

Definition at line 124 of file djgpp/htcurses.cc.

References buf, and put_vc().

Referenced by ~screendrawbuf().

virtual void screendrawbuf::b_resize int  rw,
int  rh
[virtual]
 

Reimplemented from genericdrawbuf.

virtual void screendrawbuf::b_resize int  rw,
int  rh
[virtual]
 

Reimplemented from genericdrawbuf.

virtual void screendrawbuf::b_resize int  rw,
int  rh
[virtual]
 

Reimplemented from genericdrawbuf.

void screendrawbuf::b_resize int  rw,
int  rh
[virtual]
 

Reimplemented from genericdrawbuf.

Definition at line 156 of file djgpp/htcurses.cc.

virtual void screendrawbuf::b_rmove int  rx,
int  ry
[virtual]
 

Reimplemented from genericdrawbuf.

virtual void screendrawbuf::b_rmove int  rx,
int  ry
[virtual]
 

Reimplemented from genericdrawbuf.

virtual void screendrawbuf::b_rmove int  rx,
int  ry
[virtual]
 

Reimplemented from genericdrawbuf.

void screendrawbuf::b_rmove int  rx,
int  ry
[virtual]
 

Reimplemented from genericdrawbuf.

Definition at line 161 of file djgpp/htcurses.cc.

virtual void screendrawbuf::b_setbounds bounds *  b  )  [virtual]
 

Reimplemented from genericdrawbuf.

virtual void screendrawbuf::b_setbounds bounds *  b  )  [virtual]
 

Reimplemented from genericdrawbuf.

virtual void screendrawbuf::b_setbounds bounds *  b  )  [virtual]
 

Reimplemented from genericdrawbuf.

void screendrawbuf::b_setbounds bounds *  b  )  [virtual]
 

Reimplemented from genericdrawbuf.

Definition at line 166 of file djgpp/htcurses.cc.

References b_fill(), genericdrawbuf::b_setbounds(), buf, malloc(), VC_BLACK, VC_WHITE, and VCP.

Referenced by screendrawbuf().

void screendrawbuf::drawbuffer drawbuf buf,
int  x,
int  y,
bounds *  clipping
 

void screendrawbuf::drawbuffer drawbuf buf,
int  x,
int  y,
bounds *  clipping
 

void screendrawbuf::drawbuffer drawbuf buf,
int  x,
int  y,
bounds *  clipping
 

void screendrawbuf::drawbuffer drawbuf buf,
int  x,
int  y,
bounds *  clipping
 

Definition at line 94 of file djgpp/htcurses.cc.

References buf, drawbuf::buf, drawbufch::c, drawbufch::ch, put_vc(), and genericdrawbuf::size.

Referenced by ht_view::redraw().

void screendrawbuf::getcursor int *  x,
int *  y
 

void screendrawbuf::getcursor int *  x,
int *  y
 

void screendrawbuf::getcursor int *  x,
int *  y
 

void screendrawbuf::getcursor int *  x,
int *  y
 

Definition at line 181 of file djgpp/htcurses.cc.

References cursorx, and cursory.

Referenced by ht_dialog::run().

void screendrawbuf::hidecursor  ) 
 

void screendrawbuf::hidecursor  ) 
 

void screendrawbuf::hidecursor  ) 
 

void screendrawbuf::hidecursor  ) 
 

Definition at line 187 of file djgpp/htcurses.cc.

References cursorhidden.

Referenced by ht_view::hidecursor(), screendrawbuf(), ht_view::setcursor(), and setcursormode().

bool screendrawbuf::init_console  )  [protected]
 

Definition at line 82 of file win32/htcurses.cc.

References output.

void screendrawbuf::put_vc int  dest,
char  ch,
int  vc
 

Definition at line 250 of file win32/htcurses.cc.

References buf, byte, vc, VC_GET_BASECOLOR, VC_GET_LIGHT, VC_TRANSPARENT, VCP_BACKGROUND, and VCP_FOREGROUND.

Referenced by b_fill(), b_lprint(), b_lprintw(), b_printchar(), and drawbuffer().

void screendrawbuf::setcursor int  x,
int  y
 

void screendrawbuf::setcursor int  x,
int  y
 

void screendrawbuf::setcursor int  x,
int  y
 

void screendrawbuf::setcursor int  x,
int  y
 

Definition at line 200 of file djgpp/htcurses.cc.

References cursorx, cursory, and showcursor().

Referenced by ht_dialog::run(), ht_view::setcursor(), and ~screendrawbuf().

void screendrawbuf::setcursormode bool  override  ) 
 

void screendrawbuf::setcursormode bool  override  ) 
 

void screendrawbuf::setcursormode bool  override  ) 
 

void screendrawbuf::setcursormode bool  override  ) 
 

Definition at line 207 of file djgpp/htcurses.cc.

References cursorhidden, cursoroverwrite, hidecursor(), and showcursor().

Referenced by ht_view::setcursor(), and ~screendrawbuf().

void screendrawbuf::show  ) 
 

void screendrawbuf::show  ) 
 

void screendrawbuf::show  ) 
 

void screendrawbuf::show  ) 
 

Definition at line 174 of file djgpp/htcurses.cc.

References buf, cursorx, cursory, and screensel.

Referenced by execute_process(), ht_app::handlemsg(), ht_status::idle(), ht_dialog::run(), screendrawbuf(), ht_uformat_viewer::vsearch(), and ~screendrawbuf().

void screendrawbuf::showcursor  ) 
 

void screendrawbuf::showcursor  ) 
 

void screendrawbuf::showcursor  ) 
 

void screendrawbuf::showcursor  ) 
 

Definition at line 218 of file djgpp/htcurses.cc.

References cursorhidden, and cursoroverwrite.

Referenced by setcursor(), and setcursormode().


Member Data Documentation

void* screendrawbuf::buf [protected]
 

Definition at line 62 of file win32/htcurses.h.

unsigned short* screendrawbuf::buf [protected]
 

Definition at line 62 of file djgpp-x/htcurses.h.

unsigned short* screendrawbuf::buf [protected]
 

Definition at line 62 of file djgpp/htcurses.h.

Referenced by b_fill(), b_lprint(), b_lprintw(), b_printchar(), b_setbounds(), drawbuffer(), put_vc(), screendrawbuf(), show(), and ~screendrawbuf().

bool screendrawbuf::cursor_redraw [protected]
 

Definition at line 65 of file win32/htcurses.h.

bool screendrawbuf::cursor_visible [protected]
 

Definition at line 64 of file win32/htcurses.h.

bool screendrawbuf::cursorhidden [protected]
 

Definition at line 65 of file djgpp-x/htcurses.h.

Referenced by hidecursor(), screendrawbuf(), setcursormode(), and showcursor().

bool screendrawbuf::cursoroverwrite [protected]
 

Definition at line 66 of file djgpp-x/htcurses.h.

Referenced by screendrawbuf(), setcursormode(), and showcursor().

int screendrawbuf::cursorx [protected]
 

Definition at line 63 of file win32/htcurses.h.

Referenced by getcursor(), screendrawbuf(), setcursor(), and show().

int screendrawbuf::cursory [protected]
 

Definition at line 63 of file win32/htcurses.h.

Referenced by getcursor(), screendrawbuf(), setcursor(), and show().

int screendrawbuf::screensel [protected]
 

Definition at line 63 of file djgpp-x/htcurses.h.

Referenced by screendrawbuf(), and show().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:16:10 2004 by doxygen 1.3.5