MythTV  master
Public Member Functions | Protected Attributes | Friends | List of all members
MHScene Class Reference

#include <libmythfreemheg/Groups.h>

Inheritance diagram for MHScene:
[legend]
Collaboration diagram for MHScene:
[legend]

Public Member Functions

 MHScene ()=default
 
void Initialise (MHParseNode *p, MHEngine *engine) override
 
const char * ClassName () override
 
void PrintMe (FILE *fd, int nTabs) const override
 
void Activation (MHEngine *engine) override
 
void SetInputRegister (int nReg, MHEngine *engine) override
 
- Public Member Functions inherited from MHGroup
 MHGroup ()=default
 
 ~MHGroup () override
 
void Preparation (MHEngine *engine) override
 
void Deactivation (MHEngine *engine) override
 
void Destruction (MHEngine *engine) override
 
MHRootFindByObjectNo (int n) override
 
void SetTimer (int nTimerId, bool fAbsolute, int nMilliSecs, MHEngine *engine) override
 
void MakeClone (MHRoot *pTarget, MHRoot *pRef, MHEngine *engine) override
 
- Public Member Functions inherited from MHRoot
 MHRoot ()=default
 
 MHRoot (const MHRoot &)
 
virtual ~MHRoot ()=default
 
virtual bool IsShared ()
 
virtual void ContentPreparation (MHEngine *)
 
virtual bool GetAvailabilityStatus ()
 
virtual bool GetRunningStatus ()
 
virtual void SetData (const MHOctetString &, MHEngine *)
 
virtual void SetData (const MHContentRef &, bool, int, bool, int, MHEngine *)
 
virtual void Preload (MHEngine *)
 
virtual void Unload (MHEngine *)
 
virtual MHIngredientClone (MHEngine *)
 
virtual void Run (MHEngine *)
 
virtual void Stop (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 SetPosition (int, int, MHEngine *)
 
virtual void GetPosition (MHRoot *, MHRoot *)
 
virtual void SetBoxSize (int, int, MHEngine *)
 
virtual void GetBoxSize (MHRoot *, MHRoot *)
 
virtual void SetPaletteRef (const MHObjectRef &, MHEngine *)
 
virtual void BringToFront (MHEngine *)
 
virtual void SendToBack (MHEngine *)
 
virtual void PutBefore (const MHRoot *, MHEngine *)
 
virtual void PutBehind (const MHRoot *, MHEngine *)
 
virtual void ResetPosition ()
 
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, const MHPointVec &, const MHPointVec &, 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 *)
 

Protected Attributes

int m_nEventReg {0}
 
int m_nSceneCoordX {0}
 
int m_nSceneCoordY {0}
 
int m_nAspectRatioW {4}
 
int m_nAspectRatioH {3}
 
bool m_fMovingCursor {false}
 
- Protected Attributes inherited from MHGroup
int m_nOrigGCPriority {127}
 
MHActionSequence m_startUp
 
MHActionSequence m_closeDown
 
MHOwnPtrSequence< MHIngredientm_items
 
bool m_fIsApp {false}
 
QElapsedTimer m_runTime
 
QList< MHTimer * > m_timers
 
int m_nLastId {0}
 
- Protected Attributes inherited from MHRoot
bool m_fAvailable {false}
 
bool m_fRunning {false}
 

Friends

class MHEngine
 

Additional Inherited Members

- Public Attributes inherited from MHRoot
MHObjectRef m_ObjectReference
 
- Protected Member Functions inherited from MHGroup
std::chrono::milliseconds CheckTimers (MHEngine *engine)
 
- Protected Member Functions inherited from MHRoot
void InvalidAction (const char *actionName)
 

Detailed Description

Definition at line 88 of file Groups.h.

Constructor & Destructor Documentation

◆ MHScene()

MHScene::MHScene ( )
default

Member Function Documentation

◆ Initialise()

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

Reimplemented from MHGroup.

Definition at line 720 of file Groups.cpp.

◆ ClassName()

const char* MHScene::ClassName ( )
inlineoverridevirtual

Implements MHRoot.

Definition at line 94 of file Groups.h.

◆ PrintMe()

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

Reimplemented from MHGroup.

Definition at line 761 of file Groups.cpp.

◆ Activation()

void MHScene::Activation ( MHEngine engine)
overridevirtual

Reimplemented from MHGroup.

Definition at line 786 of file Groups.cpp.

◆ SetInputRegister()

void MHScene::SetInputRegister ( int  nReg,
MHEngine engine 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 798 of file Groups.cpp.

Friends And Related Function Documentation

◆ MHEngine

friend class MHEngine
friend

Definition at line 113 of file Groups.h.

Member Data Documentation

◆ m_nEventReg

int MHScene::m_nEventReg {0}
protected

Definition at line 102 of file Groups.h.

Referenced by Initialise(), PrintMe(), and SetInputRegister().

◆ m_nSceneCoordX

int MHScene::m_nSceneCoordX {0}
protected

Definition at line 103 of file Groups.h.

Referenced by Initialise(), and PrintMe().

◆ m_nSceneCoordY

int MHScene::m_nSceneCoordY {0}
protected

Definition at line 104 of file Groups.h.

Referenced by Initialise(), and PrintMe().

◆ m_nAspectRatioW

int MHScene::m_nAspectRatioW {4}
protected

Definition at line 108 of file Groups.h.

Referenced by Initialise(), and PrintMe().

◆ m_nAspectRatioH

int MHScene::m_nAspectRatioH {3}
protected

Definition at line 109 of file Groups.h.

Referenced by Initialise(), and PrintMe().

◆ m_fMovingCursor

bool MHScene::m_fMovingCursor {false}
protected

Definition at line 110 of file Groups.h.

Referenced by PrintMe().


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