Behaviour for processing object visual changes. More...
#include <GUIObjectVisualsBehaviour.h>

Public Member Functions | |
| CGUIObjectVisualsBehaviour () | |
| Default constructor. | |
| CGUIObjectVisualsBehaviour (ObjectHandle_t eTargetObject, eC_Bool bChangePosition, eC_Value vTargetX, eC_Value vTargetY, eC_Bool bChangeSize, eC_Value vTargetWidth, eC_Value vTargetHeight, eC_Bool bChangeAlpha, eC_UByte ubTargetAlpha) | |
| virtual void | ReadFromStream () |
| virtual void | WriteToStream (const eC_Bool bWriteClassID=false) |
Public Member Functions inherited from CGUIBehaviourDecorator | |
| virtual | ~CGUIBehaviourDecorator () |
| virtual CGUIBehaviourDecorator * | Clone () const |
| virtual eC_Bool | IsCompositeBehaviour () const |
Public Member Functions inherited from CGUIBehaviour | |
| virtual eC_Bool | DoScale (const eC_Value &vDelta) |
| virtual eC_Bool | DoUserEvent (CGUIEvent *const pEvent) |
| virtual void | OnCreate () |
| virtual void | OnDataPool (const DataPoolResource_t &eID) |
| virtual void | OnDelete () |
| virtual void | OnHide () |
| virtual void | OnShow () |
| virtual eC_Bool | DoLongClick (const eC_Value &vAbsX=eC_FromInt(-1), const eC_Value &vAbsY=eC_FromInt(-1)) |
| virtual eC_Bool | DoDoubleClick (const eC_Value &vAbsX=eC_FromInt(-1), const eC_Value &vAbsY=eC_FromInt(-1)) |
| virtual eC_Bool | DoButtonDown (const eC_Value &vAbsX=eC_FromInt(-1), const eC_Value &vAbsY=eC_FromInt(-1)) |
| virtual eC_Bool | DoButtonUp (const eC_Value &vAbsX=eC_FromInt(-1), const eC_Value &vAbsY=eC_FromInt(-1)) |
| virtual eC_Bool | DoDrag (const eC_Value &vDeltaX=eC_FromInt(-1), const eC_Value &vDeltaY=eC_FromInt(-1), const eC_Value &vAbsX=eC_FromInt(-1), const eC_Value &vAbsY=eC_FromInt(-1)) |
| virtual eC_Bool | DoDragEnd (const eC_Value &vAbsX=eC_FromInt(-1), const eC_Value &vAbsY=eC_FromInt(-1)) |
| virtual eC_Bool | DoMouseEnter (const eC_Value &vAbsX=eC_FromInt(-1), const eC_Value &vAbsY=eC_FromInt(-1)) |
| virtual eC_Bool | DoMouseLeave (const eC_Value &vAbsX=eC_FromInt(-1), const eC_Value &vAbsY=eC_FromInt(-1)) |
| virtual eC_Bool | DoMouseMove (const eC_Value &vAbsX=eC_FromInt(-1), const eC_Value &vAbsY=eC_FromInt(-1)) |
| virtual eC_Bool | FocusPrevious (CGUIObject *const pRefObj=NULL, const eC_Bool &bSubTreeOfRefObjDone=false) |
| virtual eC_Bool | FocusNext (CGUIObject *const pRefObj=NULL, const eC_Bool &bSubTreeOfRefObjDone=false) |
| virtual void | GetFocus () |
| virtual void | LoseFocus () |
| virtual eC_Bool | Decrease () |
| virtual eC_Bool | Increase () |
| virtual eC_Bool | DoKeyDown (const GUIKeyIdentifier_t &eKeyIdentifier, const eC_UInt &uiModifiers) |
| virtual eC_Bool | DoKeyUp (const GUIKeyIdentifier_t &eKeyIdentifier, const eC_UInt &uiModifiers) |
| virtual eC_Bool | DoChar (const eC_UInt &uiKey, const GUIKeyIdentifier_t &eKeyIdentifier, const eC_UInt &uiModifiers) |
| virtual eC_Bool | DoScroll (const eC_Value &vAbsX, const eC_Value &vAbsY, const eC_Value &vDelta, const eC_Bool &bModifierActive) |
Public Member Functions inherited from CGUIStreamableObject | |
| const eC_String & | GetXMLTag () const |
| virtual void | ReadFromStream () |
| void | SetXMLTag (const eC_String &kXMLTag) |
| virtual void | WriteToStream (const eC_Bool bWriteClassID=false) |
Protected Member Functions | |
| virtual eC_Bool | DoClick (const eC_Value &vAbsX, const eC_Value &vAbsY) |
Protected Member Functions inherited from CGUIBehaviourDecorator | |
| CGUIBehaviourDecorator (CGUIObject *const pkObject=NULL) | |
| CGUIBehaviourDecorator (const CGUIBehaviourDecorator &kSource) | |
| virtual void | AssociatedObjectChanges (CGUIObject *const pkNewAssociatedObject) |
| CGUIObject * | GetAssociatedObject () const |
Protected Member Functions inherited from CGUIStreamableObject | |
| eC_UInt | ReadStreamingHeader (const eC_UInt &uiClassVersion, const eC_UInt &uiClassMinVersion=0) const |
| void | WriteStreamingFooter (const eC_Bool &bWriteClassID) const |
| void | WriteStreamingHeader (const eC_Bool &bWriteClassID, const eC_Char *const pkClassIDTag, const eC_Int &iClassID, const eC_UInt &uiClassVersion) const |
Additional Inherited Members | |
Static Public Member Functions inherited from CGUIStreamableObject | |
| static UUID_t | GenerateUUID () |
Static Public Attributes inherited from CGUIBehaviour | |
| static const eC_Char | XMLTAG_BEHAVIOURCLASSID [] |
| XML tag to be used when writing a behaviour class ID into a stream. | |
| static const eC_Char | XMLTAG_BEHAVIOURCOUNT [] |
| XML tag for count. | |
Static Public Attributes inherited from CGUIStreamableObject | |
| static const eC_Char | XMLTAG_CLASSVERSION [] |
Behaviour for processing object visual changes.
| CGUIObjectVisualsBehaviour::CGUIObjectVisualsBehaviour | ( | ObjectHandle_t | eTargetObject, |
| eC_Bool | bChangePosition, | ||
| eC_Value | vTargetX, | ||
| eC_Value | vTargetY, | ||
| eC_Bool | bChangeSize, | ||
| eC_Value | vTargetWidth, | ||
| eC_Value | vTargetHeight, | ||
| eC_Bool | bChangeAlpha, | ||
| eC_UByte | ubTargetAlpha | ||
| ) |
Constructor
| eTargetObject | The ID of the object to be modified by this command. |
| bChangePosition | If true, the position will be changed |
| vTargetX | Target value of the x-position |
| vTargetY | Target value of the y-position |
| bChangeSize | If true, the size will be changed |
| vTargetWidth | Target value of the width |
| vTargetHeight | Target value of the height |
| bChangeAlpha | If true, the alpha-value will be changed |
| ubTargetAlpha | Target value of the alpha |
|
protectedvirtual |
Called when the object receives a click event. A click can e.g., be the result of a mouse click, a finger press/release sequence on touchscreens, or be triggered by a GK_ACTION keyboard event.
| vAbsX | X-position in screen coordinates where the click occurred |
| vAbsY | Y-position in screen coordinates where the click occurred |
Reimplemented from CGUIBehaviour.
|
virtual |
Reads all attributes from streaming file. This method is called by CGUIFactoryManager after one of the registered factories has created an instance of this class.
Reimplemented from CGUIStreamableObject.
|
virtual |
Writes all attributes to the streaming file. A CGUIStreamWriter has to be initialized first.
| bWriteClassID | This flag is used to select if writing of command class ID, leading and trailing tags is performed. |
Reimplemented from CGUIStreamableObject.