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

ht_scrollbar Class Reference

#include <htobj.h>

Inheritance diagram for ht_scrollbar:

ht_view Object List of all members.

Public Member Functions

void init (bounds *b, palette *gpal, bool isvertical)
virtual void done ()
virtual void enable ()
virtual void disable ()
virtual void draw ()
virtual int load (ht_object_stream *s)
virtual OBJECT_ID object_id () const
virtual void store (ht_object_stream *s)
virtual void setpos (int pstart, int psize)

Protected Attributes

int pstart
int psize
palettegpal
bool isvertical

Member Function Documentation

void ht_scrollbar::disable  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 1383 of file htobj.cc.

References ht_view::dirtyview(), ht_view::disable(), and ht_view::disable_buffering().

Referenced by ht_listbox::adjustScrollbar(), and ht_window::redraw().

void ht_scrollbar::done  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 1371 of file htobj.cc.

References ht_view::done().

Referenced by ht_listbox::done().

void ht_scrollbar::draw  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 1390 of file htobj.cc.

References ht_view::buf_printchar(), CHAR_ARROWBIG_DOWN, CHAR_ARROWBIG_UP, CHAR_FILLED_M, ht_view::fill(), getcolorv(), gpal, isvertical, palidx_generic_scrollbar, psize, pstart, and vcp.

void ht_scrollbar::enable  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 1376 of file htobj.cc.

References ht_view::dirtyview(), ht_view::enable(), and ht_view::enable_buffering().

Referenced by ht_listbox::adjustScrollbar(), ht_app::create_window_help(), init(), and ht_window::redraw().

void ht_scrollbar::init bounds *  b,
palette gpal,
bool  isvertical
 

Definition at line 1350 of file htobj.cc.

References enable(), GMH_FIT, GMH_RIGHT, GMV_BOTTOM, GMV_FIT, gpal, Object::init(), isvertical, MK_GM, psize, pstart, VIEW_DEBUG_NAME, and VO_RESIZE.

Referenced by ht_app::create_window_file_bin(), ht_app::create_window_file_text(), ht_app::create_window_help(), ht_app::create_window_log(), ht_app::create_window_project(), ht_app::create_window_term(), and ht_listbox::init().

int ht_scrollbar::load ht_object_stream s  )  [virtual]
 

loads object from object stream.

Returns:
ht_stream errorcode

Reimplemented from ht_view.

Definition at line 1416 of file htobj.cc.

OBJECT_ID ht_scrollbar::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from ht_view.

Definition at line 1421 of file htobj.cc.

References ATOM_HT_SCROLLBAR.

void ht_scrollbar::setpos int  pstart,
int  psize
[virtual]
 

Definition at line 1426 of file htobj.cc.

References ht_view::dirtyview(), psize, and pstart.

Referenced by ht_listbox::adjustScrollbar(), and ht_window::redraw().

void ht_scrollbar::store ht_object_stream s  )  [virtual]
 

stores object.

Reimplemented from ht_view.

Definition at line 1433 of file htobj.cc.


Member Data Documentation

palette* ht_scrollbar::gpal [protected]
 

Definition at line 298 of file htobj.h.

Referenced by draw(), and init().

bool ht_scrollbar::isvertical [protected]
 

Definition at line 299 of file htobj.h.

Referenced by draw(), and init().

int ht_scrollbar::psize [protected]
 

Definition at line 297 of file htobj.h.

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

int ht_scrollbar::pstart [protected]
 

Definition at line 297 of file htobj.h.

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


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