|
MythTV master
|
#include <libmythfreemheg/Visible.h>
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 &)=default | |
| 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) | |
| ~MHIngredient () override=default | |
| void | Initialise (MHParseNode *p, MHEngine *engine) override |
| void | PrintMe (FILE *fd, int nTabs) const override |
| virtual bool | InitiallyActive () |
| virtual bool | InitiallyAvailable () |
| bool | IsShared () override |
| void | Preparation (MHEngine *engine) override |
| void | Destruction (MHEngine *engine) 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 ()=default | |
| MHRoot (const MHRoot &) | |
| virtual | ~MHRoot ()=default |
| virtual void | Initialise (MHParseNode *p, MHEngine *engine) |
| virtual void | PrintMe (FILE *fd, int nTabs) const |
| virtual bool | IsShared () |
| virtual void | Preparation (MHEngine *engine) |
| virtual void | Activation (MHEngine *engine) |
| virtual void | Deactivation (MHEngine *engine) |
| virtual void | Destruction (MHEngine *engine) |
| virtual void | ContentPreparation (MHEngine *) |
| virtual MHRoot * | FindByObjectNo (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 | SetData (const MHOctetString &, MHEngine *) |
| virtual void | SetData (const MHContentRef &, bool, int, bool, int, MHEngine *) |
| virtual void | Preload (MHEngine *) |
| virtual void | Unload (MHEngine *) |
| virtual MHIngredient * | Clone (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 *) |
| virtual const char * | ClassName ()=0 |
Static Protected Member Functions | |
| static MHRgba | GetColour (const MHColour &colour) |
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 | : std::uint8_t { IN_NoContent , IN_IncludedContent , IN_ReferencedContent } |
Protected Member Functions inherited from MHRoot | |
| void | InvalidAction (const char *actionName) |
|
default |
| MHVisible::MHVisible | ( | const MHVisible & | ref | ) |
Definition at line 41 of file Visible.cpp.
|
overridevirtual |
Reimplemented from MHRoot.
Definition at line 134 of file Visible.cpp.
Referenced by MHVideo::Activation().
|
overridevirtual |
Reimplemented from MHRoot.
Definition at line 252 of file Visible.cpp.
|
overridevirtual |
Reimplemented from MHRoot.
Reimplemented in MHSlider, and MHEntryField.
Definition at line 147 of file Visible.cpp.
Referenced by MHVideo::Deactivation().
|
overridevirtual |
Reimplemented from MHIngredient.
Definition at line 128 of file Visible.cpp.
|
pure virtual |
Implemented in MHRTGraphics, MHLineArt, MHEntryField, MHButton, MHHotSpot, MHPushButton, MHSwitchButton, MHBitmap, MHDynamicLineArt, MHVideo, MHText, MHRectangle, and MHSlider.
Referenced by MHEngine::DrawRegion().
Reimplemented from MHRoot.
Definition at line 240 of file Visible.cpp.
Definition at line 162 of file Visible.cpp.
Referenced by MHText::Display(), MHRectangle::Display(), MHSlider::Display(), MHDynamicLineArt::GetOpaqueArea(), MHText::GetOpaqueArea(), MHRectangle::GetOpaqueArea(), MHDynamicLineArt::Initialise(), MHDynamicLineArt::Preparation(), MHText::Redraw(), MHDynamicLineArt::SetFillColour(), and MHDynamicLineArt::SetLineColour().
|
inlinevirtual |
Reimplemented in MHBitmap, MHDynamicLineArt, MHVideo, MHText, and MHRectangle.
Definition at line 65 of file Visible.h.
Referenced by MHEngine::DrawRegion().
Reimplemented from MHRoot.
Definition at line 225 of file Visible.cpp.
|
virtual |
Reimplemented in MHBitmap, and MHVideo.
Definition at line 203 of file Visible.cpp.
Referenced by Activation(), MHEngine::AddToDisplayStack(), MHText::CreateContent(), Deactivation(), MHSlider::Decrement(), MHDynamicLineArt::DrawArcSector(), MHDynamicLineArt::DrawLine(), MHDynamicLineArt::DrawOval(), MHDynamicLineArt::DrawPoly(), MHDynamicLineArt::DrawRectangle(), MHEngine::DrawRegion(), MHDynamicLineArt::GetOpaqueArea(), MHSlider::Increment(), MHSlider::InteractionCompleted(), MHInteractible::InteractSetHighlightStatus(), MHEngine::RemoveFromDisplayStack(), MHText::SetBackgroundColour(), SetBoxSize(), MHLineArt::SetFillColour(), MHText::SetFontAttributes(), MHLineArt::SetLineColour(), MHLineArt::SetLineStyle(), MHLineArt::SetLineWidth(), SetPaletteRef(), MHSlider::SetPortion(), SetPosition(), MHSlider::SetSliderParameters(), MHSlider::SetSliderValue(), MHText::SetTextColour(), and MHSlider::Step().
|
overridevirtual |
Reimplemented from MHIngredient.
Reimplemented in MHLineArt, MHSlider, MHEntryField, MHButton, MHHotSpot, MHPushButton, and MHSwitchButton.
Definition at line 56 of file Visible.cpp.
Referenced by MHBitmap::Initialise(), MHVideo::Initialise(), MHRTGraphics::Initialise(), MHText::Initialise(), MHLineArt::Initialise(), MHSlider::Initialise(), MHEntryField::Initialise(), and MHButton::Initialise().
|
overridevirtual |
Reimplemented from MHIngredient.
Reimplemented in MHLineArt, and MHSlider.
Definition at line 111 of file Visible.cpp.
Referenced by MHBitmap::Preparation(), MHVideo::Preparation(), MHText::Preparation(), MHLineArt::Preparation(), and MHSlider::Preparation().
|
overridevirtual |
Reimplemented from MHIngredient.
Reimplemented in MHLineArt, MHRectangle, MHSlider, MHEntryField, MHButton, MHHotSpot, MHPushButton, and MHSwitchButton.
Definition at line 90 of file Visible.cpp.
Referenced by MHBitmap::PrintMe(), MHVideo::PrintMe(), MHRTGraphics::PrintMe(), MHText::PrintMe(), MHLineArt::PrintMe(), MHSlider::PrintMe(), MHEntryField::PrintMe(), and MHButton::PrintMe().
Reimplemented from MHRoot.
Definition at line 262 of file Visible.cpp.
Reimplemented from MHRoot.
Definition at line 267 of file Visible.cpp.
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from MHRoot.
Definition at line 257 of file Visible.cpp.
|
overridevirtual |
Reimplemented from MHRoot.
Definition at line 231 of file Visible.cpp.
Referenced by MHDynamicLineArt::SetBoxSize().
|
overridevirtual |
Reimplemented from MHRoot.
Definition at line 246 of file Visible.cpp.
|
overridevirtual |
Reimplemented from MHRoot.
Definition at line 213 of file Visible.cpp.
|
protected |
Definition at line 80 of file Visible.h.
Referenced by MHBitmap::Display(), MHVideo::Display(), MHText::Display(), MHRectangle::Display(), MHSlider::Display(), GetBoxSize(), MHText::GetOpaqueArea(), MHRectangle::GetOpaqueArea(), GetVisibleArea(), MHBitmap::GetVisibleArea(), MHVideo::GetVisibleArea(), MHDynamicLineArt::Preparation(), MHVideo::Preparation(), MHText::Preparation(), Preparation(), MHText::Redraw(), and SetBoxSize().
|
protected |
Definition at line 79 of file Visible.h.
Referenced by MHBitmap::Display(), MHVideo::Display(), MHText::Display(), MHRectangle::Display(), MHSlider::Display(), GetBoxSize(), MHText::GetOpaqueArea(), MHRectangle::GetOpaqueArea(), GetVisibleArea(), MHBitmap::GetVisibleArea(), MHVideo::GetVisibleArea(), MHDynamicLineArt::Preparation(), MHVideo::Preparation(), MHText::Preparation(), Preparation(), MHText::Redraw(), and SetBoxSize().
|
protected |
Definition at line 74 of file Visible.h.
Referenced by Initialise(), Preparation(), and PrintMe().
|
protected |
Definition at line 73 of file Visible.h.
Referenced by Initialise(), Preparation(), and PrintMe().
|
protected |
Definition at line 75 of file Visible.h.
Referenced by Initialise(), Preparation(), PrintMe(), and ResetPosition().
|
protected |
Definition at line 76 of file Visible.h.
Referenced by Initialise(), Preparation(), PrintMe(), and ResetPosition().
|
protected |
Definition at line 81 of file Visible.h.
Referenced by MHBitmap::Display(), MHDynamicLineArt::Display(), MHVideo::Display(), MHText::Display(), MHRectangle::Display(), MHSlider::Display(), MHText::GetOpaqueArea(), MHRectangle::GetOpaqueArea(), GetPosition(), GetVisibleArea(), MHBitmap::GetVisibleArea(), MHVideo::GetVisibleArea(), Preparation(), ResetPosition(), and SetPosition().
|
protected |
Definition at line 82 of file Visible.h.
Referenced by MHBitmap::Display(), MHDynamicLineArt::Display(), MHVideo::Display(), MHText::Display(), MHRectangle::Display(), MHSlider::Display(), MHText::GetOpaqueArea(), MHRectangle::GetOpaqueArea(), GetPosition(), GetVisibleArea(), MHBitmap::GetVisibleArea(), MHVideo::GetVisibleArea(), Preparation(), ResetPosition(), and SetPosition().
|
protected |
Definition at line 77 of file Visible.h.
Referenced by Initialise(), MHVisible(), Preparation(), and PrintMe().
|
protected |
Definition at line 83 of file Visible.h.
Referenced by Preparation(), and SetPaletteRef().