MythTV  master
Public Member Functions | List of all members
MHHyperText Class Reference

#include <Text.h>

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

Public Member Functions

 MHHyperText ()
 
const char * ClassName () override
 
virtual ~MHHyperText ()=default
 
void Initialise (MHParseNode *p, MHEngine *engine) override
 
void PrintMe (FILE *fd, int nTabs) const override
 
void SetInteractionStatus (bool newStatus, MHEngine *engine) override
 
bool GetInteractionStatus (void) override
 
void SetHighlightStatus (bool newStatus, MHEngine *engine) override
 
bool GetHighlightStatus (void) override
 
void Deactivation (MHEngine *) override
 
- Public Member Functions inherited from MHText
 MHText ()=default
 
 MHText (const MHText &ref)
 
 ~MHText ()
 
void Preparation (MHEngine *engine) override
 
void ContentPreparation (MHEngine *engine) override
 
void ContentArrived (const unsigned char *data, int length, MHEngine *engine) override
 
void GetTextData (MHRoot *pDestination, MHEngine *) override
 
MHIngredientClone (MHEngine *) override
 
void SetBackgroundColour (const MHColour &colour, MHEngine *engine) override
 
void SetTextColour (const MHColour &colour, MHEngine *engine) override
 
void SetFontAttributes (const MHOctetString &fontAttrs, MHEngine *engine) override
 
void Display (MHEngine *engine) override
 
QRegion GetOpaqueArea () override
 
- Public Member Functions inherited from MHVisible
 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 QRegion GetVisibleArea ()
 
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 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
 
- 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 void TestVariable (int, const MHUnion &, MHEngine *)
 
virtual void GetVariableValue (MHUnion &, MHEngine *)
 
virtual void SetVariableValue (const MHUnion &)
 
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 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 *)
 
- Public Member Functions inherited from MHInteractible
 MHInteractible (MHVisible *parent)
 
virtual ~MHInteractible ()=default
 
void Initialise (MHParseNode *p, MHEngine *engine)
 
void PrintMe (FILE *fd, int nTabs) const
 
virtual void Interaction (MHEngine *engine)
 
virtual void KeyEvent (MHEngine *, int)
 
virtual void InteractionCompleted (MHEngine *)
 
void InteractSetInteractionStatus (bool newStatus, MHEngine *engine)
 
bool InteractGetInteractionStatus (void)
 
void InteractSetHighlightStatus (bool newStatus, MHEngine *engine)
 
bool InteractGetHighlightStatus (void)
 
void InteractDeactivation (void)
 

Additional Inherited Members

- Static Public Member Functions inherited from MHText
static int GetJustification (const char *str)
 
static int GetLineOrientation (const char *str)
 
static int GetStartCorner (const char *str)
 
- Public Attributes inherited from MHRoot
MHObjectRef m_ObjectReference
 
- Protected Types inherited from MHText
enum  Justification { Start = 1, End, Centre, Justified }
 
enum  LineOrientation { Vertical = 1, Horizontal }
 
enum  StartCorner { UpperLeft = 1, UpperRight, LowerLeft, LowerRight }
 
- Protected Types inherited from MHIngredient
enum  { IN_NoContent, IN_IncludedContent, IN_ReferencedContent }
 
- Protected Member Functions inherited from MHText
void Redraw ()
 
void CreateContent (const unsigned char *p, int s, MHEngine *engine)
 
- Protected Member Functions inherited from MHVisible
MHRgba GetColour (const MHColour &colour)
 
- Protected Member Functions inherited from MHRoot
void InvalidAction (const char *actionName)
 
- Protected Attributes inherited from MHText
MHFontBody m_OrigFont
 
MHOctetString m_OriginalFontAttrs
 
MHColour m_OriginalTextColour
 
MHColour m_OriginalBgColour
 
int m_nCharSet {-1}
 
Justification m_HorizJ {Start}
 
Justification m_VertJ {Start}
 
LineOrientation m_LineOrientation {Horizontal}
 
StartCorner m_StartCorner {UpperLeft}
 
bool m_fTextWrap {false}
 
MHColour m_textColour
 
MHColour m_bgColour
 
MHOctetString m_fontAttrs
 
MHOctetString m_Content
 
MHTextDisplaym_pDisplay {nullptr}
 
bool m_fNeedsRedraw {false}
 
- Protected Attributes inherited from MHVisible
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}
 
- Protected Attributes inherited from MHInteractible
bool m_fEngineResp {true}
 
MHColour m_highlightRefColour
 
bool m_fHighlightStatus {false}
 
bool m_fInteractionStatus {false}
 

Detailed Description

Definition at line 101 of file Text.h.

Constructor & Destructor Documentation

◆ MHHyperText()

MHHyperText::MHHyperText ( )
inline

Definition at line 104 of file Text.h.

◆ ~MHHyperText()

virtual MHHyperText::~MHHyperText ( )
virtualdefault

Member Function Documentation

◆ ClassName()

const char* MHHyperText::ClassName ( )
inlineoverridevirtual

Reimplemented from MHText.

Definition at line 105 of file Text.h.

◆ Initialise()

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

Reimplemented from MHText.

Definition at line 887 of file Text.cpp.

◆ PrintMe()

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

Reimplemented from MHText.

Definition at line 894 of file Text.cpp.

◆ SetInteractionStatus()

void MHHyperText::SetInteractionStatus ( bool  newStatus,
MHEngine engine 
)
inlineoverridevirtual

Reimplemented from MHRoot.

Definition at line 112 of file Text.h.

◆ GetInteractionStatus()

bool MHHyperText::GetInteractionStatus ( void  )
inlineoverridevirtual

Reimplemented from MHRoot.

Definition at line 114 of file Text.h.

◆ SetHighlightStatus()

void MHHyperText::SetHighlightStatus ( bool  newStatus,
MHEngine engine 
)
inlineoverridevirtual

Reimplemented from MHRoot.

Definition at line 116 of file Text.h.

◆ GetHighlightStatus()

bool MHHyperText::GetHighlightStatus ( void  )
inlineoverridevirtual

Reimplemented from MHRoot.

Definition at line 118 of file Text.h.

◆ Deactivation()

void MHHyperText::Deactivation ( MHEngine )
inlineoverridevirtual

Reimplemented from MHRoot.

Definition at line 120 of file Text.h.


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