MythTV  master
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MHVisible Class Referenceabstract

#include <Visible.h>

Inheritance diagram for MHVisible:
Inheritance graph
[legend]
Collaboration diagram for MHVisible:
Collaboration graph
[legend]

Public Member Functions

 MHVisible ()=default
 
 MHVisible (const MHVisible &ref)
 
void Initialise (MHParseNode *p, MHEngine *engine) override
 
void PrintMe (FILE *fd, int nTabs) const override
 
void Preparation (MHEngine *engine) override
 
void Destruction (MHEngine *engine) override
 
void Activation (MHEngine *engine) override
 
void Deactivation (MHEngine *engine) override
 
void SetPosition (int nXPosition, int nYPosition, MHEngine *engine) override
 
void GetPosition (MHRoot *pXPosN, MHRoot *pYPosN) override
 
void SetBoxSize (int nWidth, int nHeight, MHEngine *engine) override
 
void GetBoxSize (MHRoot *pWidthDest, MHRoot *pHeightDest) override
 
void SetPaletteRef (const MHObjectRef newPalette, MHEngine *engine) override
 
void BringToFront (MHEngine *engine) override
 
void SendToBack (MHEngine *engine) override
 
void PutBefore (const MHRoot *pRef, MHEngine *engine) override
 
void PutBehind (const MHRoot *pRef, MHEngine *engine) override
 
virtual void Display (MHEngine *)=0
 
virtual QRegion GetVisibleArea ()
 
virtual QRegion GetOpaqueArea ()
 
void ResetPosition () override
 
- Public Member Functions inherited from MHPresentable
 MHPresentable ()=default
 
 MHPresentable (const MHPresentable &ref)
 
void Run (MHEngine *engine) override
 
void Stop (MHEngine *engine) override
 
virtual void BeginPlaying (MHEngine *)
 
virtual void StopPlaying (MHEngine *)
 
- Public Member Functions inherited from MHIngredient
 MHIngredient ()=default
 
 MHIngredient (const MHIngredient &ref)
 
virtual ~MHIngredient ()=default
 
virtual bool InitiallyActive ()
 
virtual bool InitiallyAvailable ()
 
bool IsShared () override
 
void ContentPreparation (MHEngine *engine) override
 
void SetData (const MHOctetString &included, MHEngine *engine) override
 
void SetData (const MHContentRef &referenced, bool fSizeGiven, int size, bool fCCGiven, int cc, MHEngine *engine) override
 
void Preload (MHEngine *engine) override
 
void Unload (MHEngine *engine) override
 
virtual void ContentArrived (const unsigned char *, int, MHEngine *)
 
- Public Member Functions inherited from MHRoot
 MHRoot ()
 
 MHRoot (const MHRoot &)
 
virtual ~MHRoot ()
 
virtual MHRootFindByObjectNo (int n)
 
virtual bool GetAvailabilityStatus ()
 
virtual bool GetRunningStatus ()
 
virtual void SetTimer (int, bool, int, MHEngine *)
 
virtual void MakeClone (MHRoot *, MHRoot *, MHEngine *)
 
virtual void SetInputRegister (int, MHEngine *)
 
virtual MHIngredientClone (MHEngine *)
 
virtual void TestVariable (int, const MHUnion &, MHEngine *)
 
virtual void GetVariableValue (MHUnion &, MHEngine *)
 
virtual void SetVariableValue (const MHUnion &)
 
virtual void GetTextData (MHRoot *, MHEngine *)
 
virtual void SetBackgroundColour (const MHColour &, MHEngine *)
 
virtual void SetTextColour (const MHColour &, MHEngine *)
 
virtual void SetFontAttributes (const MHOctetString &, MHEngine *)
 
virtual void Activate (bool, MHEngine *)
 
virtual void CallProgram (bool, const MHObjectRef &, const MHSequence< MHParameter * > &, MHEngine *)
 
virtual void CallActionSlot (int, MHEngine *)
 
virtual void Move (int, MHEngine *)
 
virtual void MoveTo (int, MHEngine *)
 
virtual void GetTokenPosition (MHRoot *, MHEngine *)
 
virtual void AddItem (int, MHRoot *, MHEngine *)
 
virtual void DelItem (MHRoot *, MHEngine *)
 
virtual void GetCellItem (int, const MHObjectRef &, MHEngine *)
 
virtual void GetListItem (int, const MHObjectRef &, MHEngine *)
 
virtual void GetItemStatus (int, const MHObjectRef &, MHEngine *)
 
virtual void SelectItem (int, MHEngine *)
 
virtual void DeselectItem (int, MHEngine *)
 
virtual void ToggleItem (int, MHEngine *)
 
virtual void ScrollItems (int, MHEngine *)
 
virtual void SetFirstItem (int, MHEngine *)
 
virtual void GetFirstItem (MHRoot *, MHEngine *)
 
virtual void GetListSize (MHRoot *, MHEngine *)
 
virtual void SetFillColour (const MHColour &, MHEngine *)
 
virtual void SetLineColour (const MHColour &, MHEngine *)
 
virtual void SetLineWidth (int, MHEngine *)
 
virtual void SetLineStyle (int, MHEngine *)
 
virtual void SetTransparency (int, MHEngine *)
 
virtual void ScaleBitmap (int, int, MHEngine *)
 
virtual void SetBitmapDecodeOffset (int, int, MHEngine *)
 
virtual void GetBitmapDecodeOffset (MHRoot *, MHRoot *)
 
virtual void Clear ()
 
virtual void GetLineWidth (MHRoot *)
 
virtual void GetLineStyle (MHRoot *)
 
virtual void GetLineColour (MHRoot *)
 
virtual void GetFillColour (MHRoot *)
 
virtual void DrawArcSector (bool, int, int, int, int, int, int, MHEngine *)
 
virtual void DrawLine (int, int, int, int, MHEngine *)
 
virtual void DrawOval (int, int, int, int, MHEngine *)
 
virtual void DrawRectangle (int, int, int, int, MHEngine *)
 
virtual void DrawPoly (bool, int, const int *, const int *, MHEngine *)
 
virtual void ScaleVideo (int, int, MHEngine *)
 
virtual void SetVideoDecodeOffset (int, int, MHEngine *)
 
virtual void GetVideoDecodeOffset (MHRoot *, MHRoot *, MHEngine *)
 
virtual void GetCounterPosition (MHRoot *, MHEngine *)
 
virtual void GetCounterMaxPosition (MHRoot *, MHEngine *)
 
virtual void SetCounterPosition (int, MHEngine *)
 
virtual void SetSpeed (int, MHEngine *)
 
virtual void SetInteractionStatus (bool, MHEngine *)
 
virtual bool GetInteractionStatus (void)
 
virtual void SetHighlightStatus (bool, MHEngine *)
 
virtual bool GetHighlightStatus (void)
 
virtual void Step (int, MHEngine *)
 
virtual void SetSliderValue (int, MHEngine *)
 
virtual int GetSliderValue (void)
 
virtual void SetPortion (int, MHEngine *)
 
virtual int GetPortion (void)
 
virtual void SetSliderParameters (int, int, int, MHEngine *)
 
virtual const char * ClassName ()=0
 

Protected Member Functions

MHRgba GetColour (const MHColour &colour)
 
- Protected Member Functions inherited from MHRoot
void InvalidAction (const char *actionName)
 

Protected Attributes

int m_nOriginalBoxWidth {-1}
 
int m_nOriginalBoxHeight {-1}
 
int m_nOriginalPosX {0}
 
int m_nOriginalPosY {0}
 
MHObjectRef m_OriginalPaletteRef
 
int m_nBoxWidth {0}
 
int m_nBoxHeight {0}
 
int m_nPosX {0}
 
int m_nPosY {0}
 
MHObjectRef m_PaletteRef
 
- Protected Attributes inherited from MHIngredient
bool m_fInitiallyActive {true}
 
int m_nContentHook {0}
 
bool m_fShared {false}
 
enum MHIngredient:: { ... }  IN_NoContent
 
MHOctetString m_OrigIncludedContent
 
MHContentRef m_OrigContentRef
 
int m_nOrigContentSize {0}
 
int m_nOrigCCPrio {127}
 
MHOctetString m_IncludedContent
 
MHContentRef m_ContentRef
 
int m_nContentSize {0}
 
int m_nCCPrio {0}
 
- Protected Attributes inherited from MHRoot
bool m_fAvailable {false}
 
bool m_fRunning {false}
 

Additional Inherited Members

- Public Attributes inherited from MHRoot
MHObjectRef m_ObjectReference
 
- Protected Types inherited from MHIngredient
enum  { IN_NoContent, IN_IncludedContent, IN_ReferencedContent }
 

Detailed Description

Definition at line 35 of file Visible.h.

Constructor & Destructor Documentation

◆ MHVisible() [1/2]

MHVisible::MHVisible ( )
default

◆ MHVisible() [2/2]

MHVisible::MHVisible ( const MHVisible ref)

Definition at line 36 of file Visible.cpp.

Member Function Documentation

◆ Initialise()

void MHVisible::Initialise ( MHParseNode p,
MHEngine engine 
)
overridevirtual

◆ PrintMe()

void MHVisible::PrintMe ( FILE *  fd,
int  nTabs 
) const
overridevirtual

◆ Preparation()

void MHVisible::Preparation ( MHEngine engine)
overridevirtual

Reimplemented from MHIngredient.

Reimplemented in MHSlider, and MHLineArt.

Definition at line 105 of file Visible.cpp.

Referenced by MHText::Preparation(), MHBitmap::Preparation(), MHVideo::Preparation(), MHLineArt::Preparation(), and MHSlider::Preparation().

◆ Destruction()

void MHVisible::Destruction ( MHEngine engine)
overridevirtual

Reimplemented from MHIngredient.

Definition at line 122 of file Visible.cpp.

◆ Activation()

void MHVisible::Activation ( MHEngine engine)
overridevirtual

Reimplemented from MHRoot.

Definition at line 128 of file Visible.cpp.

Referenced by MHVideo::Activation().

◆ Deactivation()

void MHVisible::Deactivation ( MHEngine engine)
overridevirtual

Reimplemented from MHRoot.

Reimplemented in MHEntryField, and MHSlider.

Definition at line 141 of file Visible.cpp.

Referenced by MHVideo::Deactivation().

◆ SetPosition()

void MHVisible::SetPosition ( int  nXPosition,
int  nYPosition,
MHEngine engine 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 204 of file Visible.cpp.

◆ GetPosition()

void MHVisible::GetPosition ( MHRoot pXPosN,
MHRoot pYPosN 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 216 of file Visible.cpp.

◆ SetBoxSize()

void MHVisible::SetBoxSize ( int  nWidth,
int  nHeight,
MHEngine engine 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 222 of file Visible.cpp.

Referenced by MHDynamicLineArt::SetBoxSize().

◆ GetBoxSize()

void MHVisible::GetBoxSize ( MHRoot pWidthDest,
MHRoot pHeightDest 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 231 of file Visible.cpp.

◆ SetPaletteRef()

void MHVisible::SetPaletteRef ( const MHObjectRef  newPalette,
MHEngine engine 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 237 of file Visible.cpp.

◆ BringToFront()

void MHVisible::BringToFront ( MHEngine engine)
overridevirtual

Reimplemented from MHRoot.

Definition at line 243 of file Visible.cpp.

◆ SendToBack()

void MHVisible::SendToBack ( MHEngine engine)
overridevirtual

Reimplemented from MHRoot.

Definition at line 248 of file Visible.cpp.

◆ PutBefore()

void MHVisible::PutBefore ( const MHRoot pRef,
MHEngine engine 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 253 of file Visible.cpp.

◆ PutBehind()

void MHVisible::PutBehind ( const MHRoot pRef,
MHEngine engine 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 258 of file Visible.cpp.

◆ Display()

virtual void MHVisible::Display ( MHEngine )
pure virtual

◆ GetVisibleArea()

QRegion MHVisible::GetVisibleArea ( )
virtual

◆ GetOpaqueArea()

virtual QRegion MHVisible::GetOpaqueArea ( )
inlinevirtual

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

Definition at line 65 of file Visible.h.

Referenced by MHEngine::DrawRegion().

◆ ResetPosition()

void MHVisible::ResetPosition ( )
inlineoverridevirtual

Reimplemented from MHRoot.

Definition at line 68 of file Visible.h.

◆ GetColour()

MHRgba MHVisible::GetColour ( const MHColour colour)
protected

Member Data Documentation

◆ m_nOriginalBoxWidth

int MHVisible::m_nOriginalBoxWidth {-1}
protected

Definition at line 73 of file Visible.h.

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

◆ m_nOriginalBoxHeight

int MHVisible::m_nOriginalBoxHeight {-1}
protected

Definition at line 74 of file Visible.h.

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

◆ m_nOriginalPosX

int MHVisible::m_nOriginalPosX {0}
protected

Definition at line 75 of file Visible.h.

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

◆ m_nOriginalPosY

int MHVisible::m_nOriginalPosY {0}
protected

Definition at line 76 of file Visible.h.

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

◆ m_OriginalPaletteRef

MHObjectRef MHVisible::m_OriginalPaletteRef
protected

Definition at line 77 of file Visible.h.

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

◆ m_nBoxWidth

int MHVisible::m_nBoxWidth {0}
protected

◆ m_nBoxHeight

int MHVisible::m_nBoxHeight {0}
protected

◆ m_nPosX

int MHVisible::m_nPosX {0}
protected

◆ m_nPosY

int MHVisible::m_nPosY {0}
protected

◆ m_PaletteRef

MHObjectRef MHVisible::m_PaletteRef
protected

Definition at line 83 of file Visible.h.

Referenced by Preparation(), and SetPaletteRef().


The documentation for this class was generated from the following files: