Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Dasher::CDasherView Class Reference

#include </home/clem/local/src/opie/inputmethods/dasher/DasherView.h>

Inheritance diagram for Dasher::CDasherView:

Inheritance graph
[legend]
Collaboration diagram for Dasher::CDasherView:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CDasherView (CDasherScreen *DasherScreen, CDasherModel &DasherModel, Dasher::Opts::ScreenOrientations Orientation=Dasher::Opts::LeftToRight)
virtual ~CDasherView ()
void ChangeOrientation (Dasher::Opts::ScreenOrientations Orientation)
void FlushAt (int mousex, int mousey)
void Render ()
virtual void TapOnDisplay (int mousex, int mousey, unsigned long Time)=0
virtual void ChangeScreen (CDasherScreen *NewScreen)
virtual void DrawMouse (int mousex, int mousey)=0
virtual void DrawKeyboard ()=0
CDasherModelDasherModel ()
CDasherScreenScreen ()
void Display ()
void SetColourMode (bool colourmode)

Protected Member Functions

void MapScreen (int *DrawX, int *DrawY)
void UnMapScreen (int *DrawX, int *DrawY)

Private Member Functions

virtual void Crosshair (myint sx)=0
virtual int RenderNode (const symbol Character, const int Color, Opts::ColorSchemes ColorScheme, myint y1, myint y2, int &mostleft, bool &force, bool text)=0
int RecursiveRender (CDasherNode *Render, myint y1, myint y2, int mostleft, bool text)
void RenderGroups (CDasherNode *Render, myint y1, myint y2, bool text)

Private Attributes

CDasherScreenm_Screen
CDasherModelm_DasherModel
Dasher::Opts::ScreenOrientations ScreenOrientation
bool ColourMode

Constructor & Destructor Documentation

CDasherView::CDasherView CDasherScreen DasherScreen,
CDasherModel DasherModel,
Dasher::Opts::ScreenOrientations  Orientation = Dasher::Opts::LeftToRight
 

Definition at line 13 of file DasherView.cpp.

virtual Dasher::CDasherView::~CDasherView  )  [inline, virtual]
 

Definition at line 31 of file DasherView.h.


Member Function Documentation

void CDasherView::ChangeOrientation Dasher::Opts::ScreenOrientations  Orientation  ) 
 

Definition at line 20 of file DasherView.cpp.

References Render(), and ScreenOrientation.

Referenced by Dasher::CDasherInterface::ChangeOrientation().

virtual void Dasher::CDasherView::ChangeScreen CDasherScreen NewScreen  )  [inline, virtual]
 

Reimplemented in Dasher::CDasherViewSquare.

Definition at line 45 of file DasherView.h.

References m_Screen.

Referenced by Dasher::CDasherViewSquare::ChangeScreen(), and Dasher::CDasherInterface::ChangeScreen().

virtual void Dasher::CDasherView::Crosshair myint  sx  )  [private, pure virtual]
 

Implemented in Dasher::CDasherViewSquare.

CDasherModel& Dasher::CDasherView::DasherModel  )  [inline]
 

Definition at line 57 of file DasherView.h.

References m_DasherModel.

Referenced by Dasher::CDasherViewSquare::CDasherViewSquare(), Dasher::CDasherViewSquare::CheckForNewRoot(), RecursiveRender(), and Dasher::CDasherViewSquare::TapOnDisplay().

void Dasher::CDasherView::Display  )  [inline]
 

Definition at line 60 of file DasherView.h.

References Dasher::CDasherScreen::Display(), and m_Screen.

Referenced by Dasher::CDasherInterface::Redraw(), and Dasher::CDasherInterface::TapOn().

virtual void Dasher::CDasherView::DrawKeyboard  )  [pure virtual]
 

Implemented in Dasher::CDasherViewSquare.

Referenced by Dasher::CDasherInterface::ChangeMaxBitRate(), and Dasher::CDasherInterface::TapOn().

virtual void Dasher::CDasherView::DrawMouse int  mousex,
int  mousey
[pure virtual]
 

Implemented in Dasher::CDasherViewSquare.

Referenced by Dasher::CDasherInterface::TapOn().

void CDasherView::FlushAt int  mousex,
int  mousey
 

Definition at line 27 of file DasherView.cpp.

References Dasher::CDasherModel::Flush(), and m_DasherModel.

Referenced by Dasher::CDasherInterface::PauseAt().

void Dasher::CDasherView::MapScreen int *  DrawX,
int *  DrawY
[inline, protected]
 

Referenced by Dasher::CDasherViewSquare::RenderNode().

int CDasherView::RecursiveRender CDasherNode Render,
myint  y1,
myint  y2,
int  mostleft,
bool  text
[private]
 

Definition at line 32 of file DasherView.cpp.

References Qtopia::Children, Dasher::CDasherNode::Colour(), ColourMode, Dasher::CDasherNode::Cscheme(), DasherModel(), Dasher::CDasherNode::Hbnd(), i, Dasher::CDasherNode::Lbnd(), Dasher::CDasherNode::m_bForce, Dasher::CDasherNode::Phase(), RenderGroups(), RenderNode(), and Dasher::CDasherNode::Symbol().

void Dasher::CDasherView::Render  )  [inline]
 

Referenced by Dasher::CDasherInterface::ChangeEdit(), ChangeOrientation(), Dasher::CDasherInterface::Redraw(), and Dasher::CDasherInterface::TapOn().

void CDasherView::RenderGroups CDasherNode Render,
myint  y1,
myint  y2,
bool  text
[private]
 

Definition at line 66 of file DasherView.cpp.

References Dasher::CDasherNode::Children(), Qtopia::Children, g, Dasher::CDasherNode::Group(), Dasher::Opts::Groups, i, Dasher::CDasherNode::Lbnd(), lower(), m_DasherModel, Dasher::CDasherModel::Normalization(), range, RenderNode(), and upper().

Referenced by RecursiveRender().

virtual int Dasher::CDasherView::RenderNode const symbol  Character,
const int  Color,
Opts::ColorSchemes  ColorScheme,
myint  y1,
myint  y2,
int &  mostleft,
bool &  force,
bool  text
[private, pure virtual]
 

Implemented in Dasher::CDasherViewSquare.

Referenced by RecursiveRender(), and RenderGroups().

CDasherScreen& Dasher::CDasherView::Screen  )  [inline]
 

Definition at line 58 of file DasherView.h.

References m_Screen.

Referenced by Dasher::CDasherViewSquare::ChangeScreen(), Dasher::CDasherViewSquare::DrawKeyboard(), Dasher::CDasherViewSquare::DrawMouse(), and Dasher::CDasherViewSquare::RenderNode().

void Dasher::CDasherView::SetColourMode bool  colourmode  )  [inline]
 

Definition at line 63 of file DasherView.h.

References ColourMode.

virtual void Dasher::CDasherView::TapOnDisplay int  mousex,
int  mousey,
unsigned long  Time
[pure virtual]
 

Implemented in Dasher::CDasherViewSquare.

Referenced by Dasher::CDasherInterface::TapOn().

void Dasher::CDasherView::UnMapScreen int *  DrawX,
int *  DrawY
[inline, protected]
 

Referenced by Dasher::CDasherViewSquare::RenderNode(), and Dasher::CDasherViewSquare::TapOnDisplay().


Member Data Documentation

bool Dasher::CDasherView::ColourMode [private]
 

Definition at line 89 of file DasherView.h.

Referenced by RecursiveRender(), and SetColourMode().

CDasherModel& Dasher::CDasherView::m_DasherModel [private]
 

Definition at line 72 of file DasherView.h.

Referenced by DasherModel(), FlushAt(), and RenderGroups().

CDasherScreen* Dasher::CDasherView::m_Screen [private]
 

Definition at line 71 of file DasherView.h.

Referenced by ChangeScreen(), Display(), and Screen().

Dasher::Opts::ScreenOrientations Dasher::CDasherView::ScreenOrientation [private]
 

Definition at line 86 of file DasherView.h.

Referenced by ChangeOrientation().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:58:36 2005 for OPIE by  doxygen 1.4.2