10#ifndef __COMPOSITEBHVR__H_
11#define __COMPOSITEBHVR__H_
13#include "GUIBehaviourDecorator.h"
14#include "GUIDeleteNotification.h"
91 const eC_Value& vAbsX = eC_FromInt(-1),
92 const eC_Value& vAbsY = eC_FromInt(-1));
95 const eC_Value& vAbsX = eC_FromInt(-1),
96 const eC_Value& vAbsY = eC_FromInt(-1));
99 const eC_Value& vAbsX = eC_FromInt(-1),
100 const eC_Value& vAbsY = eC_FromInt(-1));
103 const eC_Value& vAbsX,
104 const eC_Value& vAbsY);
107 const eC_Value& vAbsX,
108 const eC_Value& vAbsY);
112 const eC_Bool &bSubTreeOfRefObjDone =
false);
116 const eC_Bool &bSubTreeOfRefObjDone =
false);
123 const eC_Value& vDeltaX,
124 const eC_Value& vDeltaY,
125 const eC_Value& vAbsX,
126 const eC_Value& vAbsY);
129 const eC_Value& vAbsX,
130 const eC_Value& vAbsY);
133 const eC_Value& vAbsX,
134 const eC_Value& vAbsY);
137 const eC_Value& vAbsX,
138 const eC_Value& vAbsY);
141 const eC_Value& vAbsX,
142 const eC_Value& vAbsY);
148 const eC_UInt &uiModifiers);
152 const eC_UInt &uiModifiers);
155 const eC_UInt &uiKey,
157 const eC_UInt &uiModifiers);
160 const eC_Value& vAbsX,
161 const eC_Value& vAbsY);
164 const eC_Value& vAbsX,
165 const eC_Value& vAbsY);
168 const eC_Value& vAbsX,
169 const eC_Value& vAbsY);
172 const eC_Value& vAbsX,
173 const eC_Value& vAbsY);
185#if defined(GUILIANI_STREAM_GUI)
189#if defined(GUILIANI_WRITE_GUI)
193#if defined(GUILIANI_STREAM_GUI) || defined(GUILIANI_WRITE_GUI)
GUIKeyIdentifier_t
Platform independent key identifiers.
Definition: GUIEventTypeResource.h:205
GUIBehaviourDecorator base class.
Definition: GUIBehaviourDecorator.h:78
Contains other behaviours and forwards events to them.
Definition: GUICompositeBehaviour.h:46
virtual eC_Bool Decrease()
virtual void ReadFromStream()
virtual eC_Bool Increase()
virtual eC_Bool DoScrollRight(const eC_Value &vAbsX, const eC_Value &vAbsY)
virtual eC_Bool DoClick(const eC_Value &vAbsX=eC_FromInt(-1), const eC_Value &vAbsY=eC_FromInt(-1))
virtual eC_Bool DoDragEnd(const eC_Value &vAbsX, const eC_Value &vAbsY)
virtual eC_Bool DoLongClick(const eC_Value &vAbsX=eC_FromInt(-1), const eC_Value &vAbsY=eC_FromInt(-1))
virtual eC_Bool DoScrollDown(const eC_Value &vAbsX, const eC_Value &vAbsY)
BehaviourList m_Behaviours
List of the attached behaviours.
Definition: GUICompositeBehaviour.h:209
static const eC_Char XMLTAG_NUMBER_OF_BEHAVIOURS[]
XML tag to be used when writing the number of following behaviours into a stream.
Definition: GUICompositeBehaviour.h:195
virtual eC_Bool DoChar(const eC_UInt &uiKey, const GUIKeyIdentifier_t &eKeyIdentifier, const eC_UInt &uiModifiers)
void CopyBehaviours(const CGUICompositeBehaviour &rSource)
virtual eC_Bool DoDoubleClick(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 WriteToStream(const eC_Bool bWriteClassID=false)
virtual eC_Bool DoKeyUp(const GUIKeyIdentifier_t &eKeyIdentifier, const eC_UInt &uiModifiers)
virtual eC_Bool DoScrollLeft(const eC_Value &vAbsX, const eC_Value &vAbsY)
virtual eC_Bool DoButtonDown(const eC_Value &vAbsX, const eC_Value &vAbsY)
eC_TListDoubleLinked< CGUIBehaviourDecorator * > BehaviourList
A Behaviour list is a double-linked list of behaviour decorator pointers.
Definition: GUICompositeBehaviour.h:207
virtual eC_Bool DoDrag(const eC_Value &vDeltaX, const eC_Value &vDeltaY, const eC_Value &vAbsX, const eC_Value &vAbsY)
void RemoveBehaviour(CGUIBehaviourDecorator *pBehaviour)
virtual eC_Bool DoScrollUp(const eC_Value &vAbsX, const eC_Value &vAbsY)
CGUICompositeBehaviour & operator=(const CGUICompositeBehaviour &rSource)
virtual eC_Bool DoKeyDown(const GUIKeyIdentifier_t &eKeyIdentifier, const eC_UInt &uiModifiers)
void RemoveAllBehaviours()
Removes all behaviours from this CGUICompositeBehaviour, causing them to be deleted.
virtual eC_Bool DoMouseMove(const eC_Value &vAbsX, const eC_Value &vAbsY)
virtual eC_Bool DoUserEvent(CGUIEvent *const pEvent)
virtual eC_Bool DoMouseLeave(const eC_Value &vAbsX, const eC_Value &vAbsY)
virtual ~CGUICompositeBehaviour()
void AddBehaviour(CGUIBehaviourDecorator *pBehaviour, eC_Bool bAtFront=false)
virtual eC_Bool DoMouseEnter(const eC_Value &vAbsX, const eC_Value &vAbsY)
virtual eC_Bool DoButtonUp(const eC_Value &vAbsX, const eC_Value &vAbsY)
virtual eC_Bool IsCompositeBehaviour() const
Definition: GUICompositeBehaviour.h:81
virtual CGUIBehaviourDecorator * Clone() const
Class that sets a local variable to True if the object has been deleted.
Definition: GUIDeleteNotification.h:51
Base class for Guiliani Events.
Definition: GUIEvent.h:26
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:79