10 #ifndef GUIAUTOREPEATBEHAVIOUR__H_
11 #define GUIAUTOREPEATBEHAVIOUR__H_
13 #include "GUIAnimatable.h"
14 #include "GUIBehaviourDecorator.h"
31 const eC_Bool& bUseLongClick,
32 const eC_UInt& uiInitialDelay,
33 const eC_UInt& uiInterval);
47 #if defined(GUILIANI_STREAM_GUI)
55 #if defined(GUILIANI_WRITE_GUI)
61 virtual void WriteToStream(
const eC_Bool bWriteClassID =
false);
65 virtual void DoAnimate(
const eC_Value& vTimes = eC_FromInt(1));
68 const eC_Value& vAbsX,
69 const eC_Value& vAbsY);
72 const eC_Value& vAbsX,
73 const eC_Value& vAbsY);
76 const eC_Value& vAbsX,
77 const eC_Value& vAbsY);
80 const eC_Value& vAbsX,
81 const eC_Value& vAbsY);
84 const eC_Value& vAbsX,
85 const eC_Value& vAbsY);
88 void EnterRepeatPhase(
const eC_UInt& uiInterval);
91 enum AutoRepeatState_t
98 eC_Bool m_bUseLongClick;
99 eC_UInt m_uiInitialDelay;
100 eC_UInt m_uiInterval;
102 AutoRepeatState_t m_eState;
104 eC_UInt m_uiNumAdditionalPhases;
105 eC_UInt m_uiCurrentPhase;
106 eC_UInt m_uiLastPhaseStart;
108 eC_TArray<eC_UInt> m_aStartTimes;
109 eC_TArray<eC_UInt> m_aIntervals;
111 eC_Bool m_bIgnoreNextClick;