10#ifndef __GUI_MULTITOUCH_BEHAVIOUR_H__
11#define __GUI_MULTITOUCH_BEHAVIOUR_H__
13#include "GUIBehaviourDecorator.h"
35 const eC_Bool& bKeepCenter,
36 const eC_Value& vFactor);
40#if defined(GUILIANI_STREAM_GUI)
48#if defined(GUILIANI_WRITE_GUI)
90 virtual eC_Bool
DoScale(
const eC_Value& vDelta);
93 const eC_Value& vAbsX,
94 const eC_Value& vAbsY,
95 const eC_Value& vDelta,
96 const eC_Bool& bModifierActive);
100 eC_Bool m_bKeepCenter;
Helper Macros in Guiliani
GUIBehaviourDecorator base class.
Definition: GUIBehaviourDecorator.h:78
Behaviour for processing object state changes.
Definition: GUIMultitouchBehaviour.h:18
MultitouchType_t GetType() const
eC_Value GetFactor() const
MultitouchType_t
enum for gesture type
Definition: GUIMultitouchBehaviour.h:22
@ MT_SCALE
scaling
Definition: GUIMultitouchBehaviour.h:23
@ MT_SCROLL
scrolling
Definition: GUIMultitouchBehaviour.h:24
CGUIMultitouchBehaviour(const MultitouchType_t &eType, const eC_Bool &bKeepCenter, const eC_Value &vFactor)
eC_Bool GetKeepCenter() const
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
void SetType(const MultitouchType_t &eType)
virtual eC_Bool DoScroll(const eC_Value &vAbsX, const eC_Value &vAbsY, const eC_Value &vDelta, const eC_Bool &bModifierActive)
virtual eC_Bool DoScale(const eC_Value &vDelta)
virtual void ReadFromStream()
void SetFactor(const eC_Value &vFactor)
void SetKeepCenter(const eC_Bool &bKeepCenter)