MythTV  0.26-pre
Public Member Functions | Protected Member Functions | Protected Attributes
MHVisible Class Reference

#include <Visible.h>

Inheritance diagram for MHVisible:
MHPresentable MHIngredient MHRoot MHBitmap MHButton MHEntryField MHLineArt MHRTGraphics MHSlider MHText MHVideo

List of all members.

Public Member Functions

 MHVisible ()
 MHVisible (const MHVisible &ref)
virtual void Initialise (MHParseNode *p, MHEngine *engine)
virtual void PrintMe (FILE *fd, int nTabs) const
virtual void Preparation (MHEngine *engine)
virtual void Destruction (MHEngine *engine)
virtual void Activation (MHEngine *engine)
virtual void Deactivation (MHEngine *engine)
virtual void SetPosition (int nXPosition, int nYPosition, MHEngine *engine)
virtual void GetPosition (MHRoot *pXPosN, MHRoot *pYPosN)
virtual void SetBoxSize (int nWidth, int nHeight, MHEngine *engine)
virtual void GetBoxSize (MHRoot *pWidthDest, MHRoot *pHeightDest)
virtual void SetPaletteRef (const MHObjectRef newPalette, MHEngine *engine)
virtual void BringToFront (MHEngine *engine)
virtual void SendToBack (MHEngine *engine)
virtual void PutBefore (const MHRoot *pRef, MHEngine *engine)
virtual void PutBehind (const MHRoot *pRef, MHEngine *engine)
virtual void Display (MHEngine *)=0
virtual QRegion GetVisibleArea ()
virtual QRegion GetOpaqueArea ()
virtual void ResetPosition ()

Protected Member Functions

MHRgba GetColour (const MHColour &colour)

Protected Attributes

int m_nOriginalBoxWidth
int m_nOriginalBoxHeight
int m_nOriginalPosX
int m_nOriginalPosY
MHObjectRef m_OriginalPaletteRef
int m_nBoxWidth
int m_nBoxHeight
int m_nPosX
int m_nPosY
MHObjectRef m_PaletteRef

Detailed Description

Definition at line 35 of file Visible.h.


Constructor & Destructor Documentation

Definition at line 35 of file Visible.cpp.

MHVisible::MHVisible ( const MHVisible ref)

Definition at line 44 of file Visible.cpp.


Member Function Documentation

void MHVisible::Initialise ( MHParseNode p,
MHEngine engine 
) [virtual]
void MHVisible::PrintMe ( FILE *  fd,
int  nTabs 
) const [virtual]
void MHVisible::Preparation ( MHEngine engine) [virtual]

Reimplemented from MHIngredient.

Reimplemented in MHSlider, MHLineArt, MHVideo, MHText, MHBitmap, and MHDynamicLineArt.

Definition at line 113 of file Visible.cpp.

void MHVisible::Destruction ( MHEngine engine) [virtual]

Reimplemented from MHIngredient.

Definition at line 130 of file Visible.cpp.

void MHVisible::Activation ( MHEngine engine) [virtual]

Reimplemented from MHRoot.

Reimplemented in MHVideo.

Definition at line 136 of file Visible.cpp.

void MHVisible::Deactivation ( MHEngine engine) [virtual]

Reimplemented from MHRoot.

Reimplemented in MHEntryField, MHSlider, MHHyperText, and MHVideo.

Definition at line 149 of file Visible.cpp.

void MHVisible::SetPosition ( int  nXPosition,
int  nYPosition,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 212 of file Visible.cpp.

void MHVisible::GetPosition ( MHRoot pXPosN,
MHRoot pYPosN 
) [virtual]

Reimplemented from MHRoot.

Definition at line 224 of file Visible.cpp.

void MHVisible::SetBoxSize ( int  nWidth,
int  nHeight,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Reimplemented in MHDynamicLineArt.

Definition at line 230 of file Visible.cpp.

void MHVisible::GetBoxSize ( MHRoot pWidthDest,
MHRoot pHeightDest 
) [virtual]

Reimplemented from MHRoot.

Definition at line 239 of file Visible.cpp.

void MHVisible::SetPaletteRef ( const MHObjectRef  newPalette,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 245 of file Visible.cpp.

void MHVisible::BringToFront ( MHEngine engine) [virtual]

Reimplemented from MHRoot.

Definition at line 251 of file Visible.cpp.

void MHVisible::SendToBack ( MHEngine engine) [virtual]

Reimplemented from MHRoot.

Definition at line 256 of file Visible.cpp.

void MHVisible::PutBefore ( const MHRoot pRef,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 261 of file Visible.cpp.

void MHVisible::PutBehind ( const MHRoot pRef,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 266 of file Visible.cpp.

virtual void MHVisible::Display ( MHEngine ) [pure virtual]
QRegion MHVisible::GetVisibleArea ( ) [virtual]
virtual QRegion MHVisible::GetOpaqueArea ( ) [inline, virtual]

Reimplemented in MHRectangle, MHVideo, MHText, MHBitmap, and MHDynamicLineArt.

Definition at line 65 of file Visible.h.

Referenced by MHEngine::DrawRegion().

virtual void MHVisible::ResetPosition ( ) [inline, virtual]

Reimplemented from MHRoot.

Definition at line 68 of file Visible.h.

MHRgba MHVisible::GetColour ( const MHColour colour) [protected]

Member Data Documentation

Definition at line 72 of file Visible.h.

Referenced by Initialise(), MHVisible(), Preparation(), and PrintMe().

Definition at line 72 of file Visible.h.

Referenced by Initialise(), MHVisible(), Preparation(), and PrintMe().

Definition at line 73 of file Visible.h.

Referenced by Initialise(), MHVisible(), Preparation(), PrintMe(), and ResetPosition().

Definition at line 73 of file Visible.h.

Referenced by Initialise(), MHVisible(), Preparation(), PrintMe(), and ResetPosition().

Definition at line 74 of file Visible.h.

Referenced by Initialise(), MHVisible(), Preparation(), and PrintMe().

int MHVisible::m_nPosX [protected]
int MHVisible::m_nPosY [protected]

Definition at line 78 of file Visible.h.

Referenced by Preparation(), and SetPaletteRef().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends