#include <Visible.h>

Definition at line 35 of file Visible.h.
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 |
| MHVisible::MHVisible | ( | ) |
Definition at line 34 of file Visible.cpp.
| MHVisible::MHVisible | ( | const MHVisible & | ref | ) |
Definition at line 41 of file Visible.cpp.
| void MHVisible::Initialise | ( | MHParseNode * | p, | |
| MHEngine * | engine | |||
| ) | [virtual] |
Reimplemented from MHIngredient.
Reimplemented in MHBitmap, MHDynamicLineArt, MHVideo, MHRTGraphics, MHText, MHHyperText, MHLineArt, MHSlider, MHEntryField, MHButton, MHHotSpot, MHPushButton, and MHSwitchButton.
Definition at line 51 of file Visible.cpp.
Referenced by MHButton::Initialise(), MHEntryField::Initialise(), MHSlider::Initialise(), MHLineArt::Initialise(), MHText::Initialise(), MHRTGraphics::Initialise(), MHVideo::Initialise(), and MHBitmap::Initialise().
| void MHVisible::PrintMe | ( | FILE * | fd, | |
| int | nTabs | |||
| ) | const [virtual] |
Reimplemented from MHIngredient.
Reimplemented in MHBitmap, MHDynamicLineArt, MHVideo, MHRTGraphics, MHText, MHHyperText, MHLineArt, MHRectangle, MHSlider, MHEntryField, MHButton, MHHotSpot, MHPushButton, and MHSwitchButton.
Definition at line 72 of file Visible.cpp.
Referenced by MHButton::PrintMe(), MHEntryField::PrintMe(), MHSlider::PrintMe(), MHLineArt::PrintMe(), MHText::PrintMe(), MHRTGraphics::PrintMe(), MHVideo::PrintMe(), and MHBitmap::PrintMe().
| void MHVisible::Preparation | ( | MHEngine * | engine | ) | [virtual] |
Reimplemented from MHIngredient.
Reimplemented in MHBitmap, MHDynamicLineArt, MHVideo, MHText, MHLineArt, and MHSlider.
Definition at line 84 of file Visible.cpp.
Referenced by MHSlider::Preparation(), MHLineArt::Preparation(), MHText::Preparation(), MHVideo::Preparation(), and MHBitmap::Preparation().
| void MHVisible::Destruction | ( | MHEngine * | engine | ) | [virtual] |
| void MHVisible::Activation | ( | MHEngine * | engine | ) | [virtual] |
Reimplemented from MHRoot.
Reimplemented in MHVideo.
Definition at line 103 of file Visible.cpp.
Referenced by MHVideo::Activation().
| void MHVisible::Deactivation | ( | MHEngine * | engine | ) | [virtual] |
Reimplemented from MHRoot.
Reimplemented in MHVideo, MHHyperText, MHSlider, and MHEntryField.
Definition at line 112 of file Visible.cpp.
Referenced by MHVideo::Deactivation().
| void MHVisible::SetPosition | ( | int | nXPosition, | |
| int | nYPosition, | |||
| MHEngine * | engine | |||
| ) | [virtual] |
| void MHVisible::SetBoxSize | ( | int | nWidth, | |
| int | nHeight, | |||
| MHEngine * | engine | |||
| ) | [virtual] |
Reimplemented from MHRoot.
Reimplemented in MHDynamicLineArt.
Definition at line 162 of file Visible.cpp.
Referenced by MHDynamicLineArt::SetBoxSize().
| void MHVisible::SetPaletteRef | ( | const MHObjectRef | newPalette, | |
| MHEngine * | engine | |||
| ) | [virtual] |
| void MHVisible::BringToFront | ( | MHEngine * | engine | ) | [virtual] |
| void MHVisible::SendToBack | ( | MHEngine * | engine | ) | [virtual] |
| virtual void MHVisible::Display | ( | MHEngine * | ) | [pure virtual] |
Implemented in MHBitmap, MHDynamicLineArt, MHVideo, MHRTGraphics, MHText, MHLineArt, MHRectangle, MHSlider, MHEntryField, MHButton, MHHotSpot, MHPushButton, and MHSwitchButton.
Referenced by MHEngine::DrawRegion().
| QRegion MHVisible::GetVisibleArea | ( | ) | [virtual] |
Reimplemented in MHBitmap, and MHVideo.
Definition at line 137 of file Visible.cpp.
Referenced by Activation(), MHEngine::AddToDisplayStack(), MHEngine::BringToFront(), 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::PutBefore(), MHEngine::PutBehind(), MHEngine::RemoveFromDisplayStack(), MHEngine::SendToBack(), 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().
| virtual QRegion MHVisible::GetOpaqueArea | ( | ) | [inline, virtual] |
Reimplemented in MHBitmap, MHDynamicLineArt, MHVideo, MHText, and MHRectangle.
Definition at line 65 of file Visible.h.
Referenced by MHEngine::DrawRegion().
| virtual void MHVisible::ResetPosition | ( | ) | [inline, virtual] |
Definition at line 123 of file Visible.cpp.
Referenced by MHSlider::Display(), MHRectangle::Display(), MHText::Display(), MHRectangle::GetOpaqueArea(), MHText::GetOpaqueArea(), MHDynamicLineArt::GetOpaqueArea(), MHDynamicLineArt::Initialise(), MHDynamicLineArt::Preparation(), MHText::Redraw(), MHDynamicLineArt::SetFillColour(), and MHDynamicLineArt::SetLineColour().
int MHVisible::m_nOriginalBoxWidth [protected] |
Definition at line 72 of file Visible.h.
Referenced by Initialise(), MHVisible(), Preparation(), and PrintMe().
int MHVisible::m_nOriginalBoxHeight [protected] |
Definition at line 72 of file Visible.h.
Referenced by Initialise(), MHVisible(), Preparation(), and PrintMe().
int MHVisible::m_nOriginalPosX [protected] |
Definition at line 73 of file Visible.h.
Referenced by Initialise(), MHVisible(), Preparation(), PrintMe(), and ResetPosition().
int MHVisible::m_nOriginalPosY [protected] |
Definition at line 73 of file Visible.h.
Referenced by Initialise(), MHVisible(), Preparation(), PrintMe(), and ResetPosition().
MHObjectRef MHVisible::m_OriginalPaletteRef [protected] |
Definition at line 74 of file Visible.h.
Referenced by Initialise(), MHVisible(), Preparation(), and PrintMe().
int MHVisible::m_nBoxWidth [protected] |
Definition at line 76 of file Visible.h.
Referenced by MHSlider::Display(), MHRectangle::Display(), MHText::Display(), MHVideo::Display(), MHBitmap::Display(), GetBoxSize(), MHRectangle::GetOpaqueArea(), MHText::GetOpaqueArea(), GetVisibleArea(), MHVideo::GetVisibleArea(), MHBitmap::GetVisibleArea(), Preparation(), MHText::Preparation(), MHVideo::Preparation(), MHDynamicLineArt::Preparation(), MHText::Redraw(), and SetBoxSize().
int MHVisible::m_nBoxHeight [protected] |
Definition at line 76 of file Visible.h.
Referenced by MHSlider::Display(), MHRectangle::Display(), MHText::Display(), MHVideo::Display(), MHBitmap::Display(), GetBoxSize(), MHRectangle::GetOpaqueArea(), MHText::GetOpaqueArea(), GetVisibleArea(), MHVideo::GetVisibleArea(), MHBitmap::GetVisibleArea(), Preparation(), MHText::Preparation(), MHVideo::Preparation(), MHDynamicLineArt::Preparation(), MHText::Redraw(), and SetBoxSize().
int MHVisible::m_nPosX [protected] |
Definition at line 77 of file Visible.h.
Referenced by MHSlider::Display(), MHRectangle::Display(), MHText::Display(), MHVideo::Display(), MHDynamicLineArt::Display(), MHBitmap::Display(), MHRectangle::GetOpaqueArea(), MHText::GetOpaqueArea(), GetPosition(), GetVisibleArea(), MHVideo::GetVisibleArea(), MHBitmap::GetVisibleArea(), Preparation(), ResetPosition(), and SetPosition().
int MHVisible::m_nPosY [protected] |
Definition at line 77 of file Visible.h.
Referenced by MHSlider::Display(), MHRectangle::Display(), MHText::Display(), MHVideo::Display(), MHDynamicLineArt::Display(), MHBitmap::Display(), MHRectangle::GetOpaqueArea(), MHText::GetOpaqueArea(), GetPosition(), GetVisibleArea(), MHVideo::GetVisibleArea(), MHBitmap::GetVisibleArea(), Preparation(), ResetPosition(), and SetPosition().
MHObjectRef MHVisible::m_PaletteRef [protected] |
1.5.5