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

ht_color_block Class Reference

#include <htdialog.h>

Inheritance diagram for ht_color_block:

ht_view Object List of all members.

Public Member Functions

void init (bounds *b, int selected, int flags)
virtual void done ()
virtual int datasize ()
virtual void draw ()
virtual void getdata (ht_object_stream *s)
virtual void setdata (ht_object_stream *s)
virtual void handlemsg (htmsg *msg)

Protected Member Functions

virtual char * defaultpalette ()

Protected Attributes

int color
int colors
int flags

Member Function Documentation

int ht_color_block::datasize  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 2783 of file htdialog.cc.

char * ht_color_block::defaultpalette  )  [protected, virtual]
 

Reimplemented from ht_view.

Definition at line 2788 of file htdialog.cc.

References palkey_generic_dialog_default.

void ht_color_block::done  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 2778 of file htdialog.cc.

References ht_view::done().

void ht_color_block::draw  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 2793 of file htdialog.cc.

References ht_view::buf_print(), ht_view::buf_printchar(), cf_transparent, CHAR_FILLED_F, CHAR_FILLED_M, ht_view::clear(), color, colors, dword, flags, ht_view::getcolor(), palidx_generic_body, VC_BLACK, VC_LIGHT, VC_TRANSPARENT, VC_WHITE, VCP, and vcs.

void ht_color_block::getdata ht_object_stream s  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 2814 of file htdialog.cc.

References color, NULL, ht_object_stream::putIntDec(), VC_TRANSPARENT, and vcs.

void ht_color_block::handlemsg htmsg *  msg  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 2819 of file htdialog.cc.

References cf_light, clearmsg(), color, colors, ht_view::dirtyview(), flags, ht_view::handlemsg(), K_Down, K_Left, K_Right, K_Up, and msg_keypressed.

void ht_color_block::init bounds *  b,
int  selected,
int  flags
 

Definition at line 2766 of file htdialog.cc.

References cf_light, colors, ht_view::databuf_set(), flags, Object::init(), VIEW_DEBUG_NAME, VO_OWNBUFFER, and VO_SELECTABLE.

Referenced by palette_entry::editdialog().

void ht_color_block::setdata ht_object_stream s  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 2852 of file htdialog.cc.

References color, ht_view::dirtyview(), ht_object_stream::getIntDec(), NULL, VC_TRANSPARENT, and vcs.


Member Data Documentation

int ht_color_block::color [protected]
 

Definition at line 587 of file htdialog.h.

Referenced by draw(), getdata(), handlemsg(), and setdata().

int ht_color_block::colors [protected]
 

Definition at line 588 of file htdialog.h.

Referenced by draw(), handlemsg(), and init().

int ht_color_block::flags [protected]
 

Definition at line 589 of file htdialog.h.

Referenced by draw(), handlemsg(), and init().


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