Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ScrnObj Class Reference

#include <scrnobj.h>

Inheritance diagram for ScrnObj:

CheckBox Group PushButton Window Nodes CPanelWindow InfoWindow KeyWindow MapWindow PlayerWindow PopUpWin TextWin List of all members.

Public Methods

 ScrnObj ()
virtual ~ScrnObj ()
virtual int GetXDim (void)
virtual int GetYDim (void)
virtual void Init (Display *d, int x, int y)
virtual void Draw ()=0
virtual void Erase ()
virtual Message Dispatch (Message &)

Protected Attributes

ScrnObj * Next
DisplayDisp
int X
int Y
bool Drawn

Friends

class ScrnObjList

Constructor & Destructor Documentation

ScrnObj::ScrnObj   [inline]
 

Definition at line 30 of file scrnobj.h.

00030 { Disp = NULL; Next = NULL; }

virtual ScrnObj::~ScrnObj   [inline, virtual]
 

Definition at line 31 of file scrnobj.h.

00031 { delete Next; }


Member Function Documentation

virtual Message ScrnObj::Dispatch Message   [inline, virtual]
 

Reimplemented in PushButton, CheckBox, CPanelWindow, Group, InfoWindow, KeyWindow, Nodes, PlayerWindow, and Window.

Definition at line 38 of file scrnobj.h.

Referenced by Display::Dispatch().

00038 { return NullMsg; }

virtual void ScrnObj::Draw   [pure virtual]
 

Implemented in PushButton, CheckBox, Group, InfoWindow, KeyWindow, MapWindow, Nodes, PlayerWindow, TextWin, and Window.

Referenced by Display::Draw().

virtual void ScrnObj::Erase void    [inline, virtual]
 

Reimplemented in PushButton, CheckBox, Group, PopUpWin, and Window.

Definition at line 37 of file scrnobj.h.

Referenced by Display::Erase().

00037 {}

virtual int ScrnObj::GetXDim void    [inline, virtual]
 

Reimplemented in PushButton, CheckBox, and Window.

Definition at line 32 of file scrnobj.h.

00032 { return 0; }

virtual int ScrnObj::GetYDim void    [inline, virtual]
 

Reimplemented in PushButton, CheckBox, and Window.

Definition at line 33 of file scrnobj.h.

00033 { return 0; }

virtual void ScrnObj::Init Display   d,
int    x,
int    y
[inline, virtual]
 

Reimplemented in PushButton, CheckBox, CPanelWindow, Group, InfoWindow, KeyWindow, MapWindow, Nodes, and Window.

Definition at line 34 of file scrnobj.h.

References X, and Y.

Referenced by Display::Add().

00035     { Disp = d;  X = x;  Y = y; }


Friends And Related Function Documentation

friend class ScrnObjList [friend]
 

Definition at line 23 of file scrnobj.h.


Member Data Documentation

Display* ScrnObj::Disp [protected]
 

Definition at line 26 of file scrnobj.h.

Referenced by Group::Add(), Nodes::animate_frame(), CheckBox::animate_frame(), PushButton::depress_button(), Group::disable_proc(), Window::Draw(), TextWin::Draw(), PlayerWindow::Draw(), Nodes::Draw(), MapWindow::Draw(), KeyWindow::Draw(), InfoWindow::Draw(), Group::Draw(), CheckBox::Draw(), PushButton::Draw(), CheckBox::draw_check(), PushButton::draw_frame(), PushButton::draw_shadows(), Window::DrawBorder(), Window::DrawTitle(), Nodes::empty_box(), CheckBox::empty_box(), Group::enable_proc(), Window::Erase(), PopUpWin::Erase(), Group::Erase(), CheckBox::Erase(), PushButton::Erase(), Nodes::fill_box(), CheckBox::fill_box(), Window::Init(), Nodes::Init(), MapWindow::Init(), KeyWindow::Init(), InfoWindow::Init(), Group::Init(), CPanelWindow::Init(), CheckBox::Init(), PushButton::Init(), CheckBox::name_button(), PushButton::name_button(), PopUpWin::PrepScreen(), and PushButton::redraw().

bool ScrnObj::Drawn [protected]
 

Reimplemented in PushButton.

Definition at line 28 of file scrnobj.h.

Referenced by CPanelWindow::CPanelWindow(), Window::Draw(), TextWin::Draw(), PlayerWindow::Draw(), Nodes::Draw(), MapWindow::Draw(), KeyWindow::Draw(), InfoWindow::Draw(), CheckBox::Draw(), Window::Erase(), PopUpWin::Erase(), CheckBox::Erase(), InfoWindow::InfoWindow(), KeyWindow::KeyWindow(), MapWindow::MapWindow(), PlayerWindow::PlayerWindow(), Nodes::set_constants(), CheckBox::set_constants(), and Window::Window().

ScrnObj* ScrnObj::Next [protected]
 

Definition at line 25 of file scrnobj.h.

Referenced by ScrnObjList::Append(), ScrnObjList::Insert(), ScrnObjList::Next(), and ScrnObjList::Remove().

int ScrnObj::X [protected]
 

Definition at line 27 of file scrnobj.h.

Referenced by Nodes::animate_frame(), CheckBox::animate_frame(), CheckBox::ButtonBounds(), PushButton::ButtonBounds(), Window::CalcBorder(), CheckBox::CenterPtX(), CheckBox::CheckBox(), PushButton::depress_button(), Nodes::Draw(), CheckBox::Draw(), PushButton::Draw(), CheckBox::draw_check(), PushButton::draw_frame(), PushButton::draw_shadows(), Window::DrawBorder(), Nodes::empty_box(), CheckBox::empty_box(), Window::Erase(), PopUpWin::Erase(), CheckBox::Erase(), PushButton::Erase(), Nodes::fill_box(), CheckBox::fill_box(), Nodes::image_size(), CheckBox::image_size(), PushButton::image_size(), Window::Init(), Init(), Nodes::Init(), MapWindow::Init(), KeyWindow::Init(), InfoWindow::Init(), Group::Init(), CPanelWindow::Init(), CheckBox::Init(), PushButton::Init(), CheckBox::name_button(), PushButton::name_button(), PopUpWin::PrepScreen(), PushButton::PushButton(), Nodes::set_constants(), CheckBox::set_constants(), and PushButton::set_constants().

int ScrnObj::Y [protected]
 

Definition at line 27 of file scrnobj.h.

Referenced by Nodes::animate_frame(), CheckBox::animate_frame(), CheckBox::ButtonBounds(), PushButton::ButtonBounds(), Window::CalcBorder(), CheckBox::CenterPtY(), CheckBox::CheckBox(), PushButton::depress_button(), Nodes::Draw(), CheckBox::Draw(), PushButton::Draw(), CheckBox::draw_check(), PushButton::draw_frame(), PushButton::draw_shadows(), Window::DrawBorder(), Nodes::empty_box(), CheckBox::empty_box(), Window::Erase(), PopUpWin::Erase(), CheckBox::Erase(), PushButton::Erase(), Nodes::fill_box(), CheckBox::fill_box(), Nodes::image_size(), CheckBox::image_size(), PushButton::image_size(), Window::Init(), Init(), Nodes::Init(), MapWindow::Init(), KeyWindow::Init(), InfoWindow::Init(), Group::Init(), CPanelWindow::Init(), CheckBox::Init(), PushButton::Init(), CheckBox::name_button(), PushButton::name_button(), PopUpWin::PrepScreen(), PushButton::PushButton(), Nodes::set_constants(), CheckBox::set_constants(), and PushButton::set_constants().


The documentation for this class was generated from the following file:
Generated on Sun Jul 6 23:07:18 2003 for Scotland Yard by doxygen1.2.15