Ticket #3162: dlaclear.patch
File dlaclear.patch, 2.4 KB (added by , 17 years ago) |
---|
-
libs/libmythfreemheg/DynamicLineArt.h
45 45 // Get the opaque area. This is only opaque if the background is. 46 46 virtual QRegion GetOpaqueArea(); 47 47 48 // Th ese actions also havethe effect of clearing the drawing.48 // This action also has the effect of clearing the drawing. 49 49 virtual void SetBoxSize(int nWidth, int nHeight, MHEngine *engine); 50 virtual void SetPosition(int nXPosition, int nYPosition, MHEngine *engine); 51 virtual void BringToFront(MHEngine *engine); 52 virtual void SendToBack(MHEngine *engine); 53 virtual void PutBefore(const MHRoot *pRef, MHEngine *engine); 54 virtual void PutBehind(const MHRoot *pRef, MHEngine *engine); 50 55 51 // Actions 56 52 virtual void Clear(); 57 53 // These actions set the properties for subsequent drawing but don't affect anything drawn so far. -
libs/libmythfreemheg/DynamicLineArt.cpp
82 82 m_picture->Clear(); 83 83 } 84 84 85 // As well as the ir general action these actions also clearthe drawing.85 // As well as the general action this also clears the drawing. 86 86 void MHDynamicLineArt::SetBoxSize(int nWidth, int nHeight, MHEngine *engine) 87 87 { 88 88 MHLineArt::SetBoxSize(nWidth, nHeight, engine); … … 90 90 Clear(); 91 91 } 92 92 93 void MHDynamicLineArt::SetPosition(int nXPos, int nYPos, MHEngine *engine) { MHLineArt::SetPosition(nXPos, nYPos, engine); Clear(); } 94 void MHDynamicLineArt::BringToFront(MHEngine *engine) { MHVisible::BringToFront(engine); Clear(); } 95 void MHDynamicLineArt::SendToBack(MHEngine *engine) { MHVisible::SendToBack(engine); Clear(); } 96 void MHDynamicLineArt::PutBefore(const MHRoot *pRef, MHEngine *engine) { MHVisible::PutBefore(pRef, engine); Clear(); } 97 void MHDynamicLineArt::PutBehind(const MHRoot *pRef, MHEngine *engine) { MHVisible::PutBehind(pRef, engine); Clear(); } 93 // SetPosition, BringToFront, SendToBack, PutBefore and PutBehind were defined in the original 94 // MHEG standard to clear the drawing. This was removed in the MHEG Corrigendum. 98 95 99 96 void MHDynamicLineArt::SetFillColour(const MHColour &colour, MHEngine *) 100 97 {