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

ht_frame Class Reference

#include <htobj.h>

Inheritance diagram for ht_frame:

ht_text ht_view Object ht_menu_frame List of all members.

Public Member Functions

void init (bounds *b, const char *desc, UINT style, UINT number=0)
virtual void done ()
virtual void draw ()
virtual UINT getnumber ()
virtual int load (ht_object_stream *s)
virtual OBJECT_ID object_id () const
virtual void setnumber (UINT number)
virtual void settext (const char *text)
virtual void store (ht_object_stream *s)
UINT getstyle ()
void setframestate (UINT framestate)
void setstyle (UINT style)

Protected Member Functions

virtual vcp getcurcol_normal ()
virtual vcp getcurcol_killer ()

Protected Attributes

UINT number
UINT style
UINT framestate

Member Function Documentation

void ht_frame::done  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_menu_frame.

Definition at line 1453 of file htobj.cc.

References ht_view::done().

Referenced by ht_menu_frame::done(), and ht_window::setframe().

void ht_frame::draw  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 1458 of file htobj.cc.

References ht_view::buf_print(), ht_view::buf_printchar(), ht_view::buf_printf(), CHAR_CORNERLL, CHAR_CORNERLL_DBL, CHAR_CORNERLR, CHAR_CORNERLR_DBL, CHAR_CORNERUL, CHAR_CORNERUL_DBL, CHAR_CORNERUR, CHAR_CORNERUR_DBL, CHAR_LINEH, CHAR_LINEH_DBL, CHAR_LINEV, CHAR_LINEV_DBL, CHAR_QUAD_SMALL, ht_view::focused, framestate, FS_KILLER, FS_MOVE, FS_NUMBER, FS_RESIZE, FS_THICK, FS_TITLE, FST_FOCUSED, FST_MOVE, FST_RESIZE, FST_UNFOCUSED, getcurcol_killer(), getcurcol_normal(), number, setframestate(), style, and vcp.

vcp ht_frame::getcurcol_killer  )  [protected, virtual]
 

Reimplemented in ht_menu_frame.

Definition at line 1559 of file htobj.cc.

References ht_view::getcolor(), palidx_generic_frame_killer, and vcp.

Referenced by draw().

vcp ht_frame::getcurcol_normal  )  [protected, virtual]
 

Reimplemented in ht_menu_frame.

Definition at line 1545 of file htobj.cc.

References framestate, FST_FOCUSED, FST_MOVE, FST_RESIZE, FST_UNFOCUSED, ht_view::getcolor(), palidx_generic_frame_focused, palidx_generic_frame_move_resize, palidx_generic_frame_unfocused, and vcp.

Referenced by draw(), and ht_menu_frame::getcurcol_normal().

UINT ht_frame::getnumber  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 1564 of file htobj.cc.

References number, and UINT.

UINT ht_frame::getstyle  ) 
 

Definition at line 1569 of file htobj.cc.

References style, and UINT.

Referenced by ht_window::receivefocus(), ht_window::releasefocus(), and ht_window::setframe().

void ht_frame::init bounds *  b,
const char *  desc,
UINT  style,
UINT  number = 0
 

Definition at line 1441 of file htobj.cc.

References framestate, FST_UNFOCUSED, GMH_FIT, GMV_FIT, Object::init(), MK_GM, number, style, UINT, VIEW_DEBUG_NAME, and VO_RESIZE.

Referenced by ht_menu::execute_menu(), execute_submenu(), and ht_window::init().

int ht_frame::load ht_object_stream s  )  [virtual]
 

loads object from object stream.

Returns:
ht_stream errorcode

Reimplemented from ht_view.

Definition at line 1574 of file htobj.cc.

References ht_view::load().

OBJECT_ID ht_frame::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from ht_view.

Definition at line 1579 of file htobj.cc.

References ATOM_HT_FRAME.

void ht_frame::setframestate UINT  framestate  ) 
 

Definition at line 1584 of file htobj.cc.

References ht_view::dirtyview(), framestate, and UINT.

Referenced by draw(), and ht_window::next_action_state().

void ht_frame::setnumber UINT  number  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 1590 of file htobj.cc.

References ht_view::dirtyview(), number, and UINT.

Referenced by ht_window::setnumber().

void ht_frame::setstyle UINT  style  ) 
 

Definition at line 1596 of file htobj.cc.

References style, and UINT.

Referenced by ht_window::receivefocus(), and ht_window::releasefocus().

void ht_frame::settext const char *  text  )  [virtual]
 

Reimplemented from ht_text.

Definition at line 1601 of file htobj.cc.

References ht_view::dirtyview(), and ht_strdup().

Referenced by ht_window::settitle().

void ht_frame::store ht_object_stream s  )  [virtual]
 

stores object.

Reimplemented from ht_view.

Definition at line 1608 of file htobj.cc.

References ht_view::store().


Member Data Documentation

UINT ht_frame::framestate [protected]
 

Definition at line 344 of file htobj.h.

Referenced by draw(), getcurcol_normal(), init(), and setframestate().

UINT ht_frame::number [protected]
 

Definition at line 342 of file htobj.h.

Referenced by draw(), getnumber(), init(), and setnumber().

UINT ht_frame::style [protected]
 

Definition at line 343 of file htobj.h.

Referenced by draw(), getstyle(), init(), and setstyle().


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