X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Fdummy-control.h;h=40dcf4fc8952ffa246d9e3a42e77c8e29d90ea72;hp=cf2d96548a6c82702f2ee99ac11f9bea3f9362a1;hb=f4d5b3ffc194fc1b1c14f4a79e3efa435a31bc32;hpb=fa6279fb2830427d5ab569ca14e6ade1557ef2fa diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.h index cf2d965..40dcf4f 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.h @@ -61,22 +61,22 @@ public: // Not intended for application developers }; /** - * Cannot create an instance of ControlImpl, so use this dummy class for the implementation. - * This class does not override any of ControlImpl's behaviour. + * Cannot create an instance of Internal::Control, so use this dummy class for the implementation. + * This class does not override any of Internal::Control's behaviour. */ -class DummyControlImpl : public ControlImpl +class DummyControlImpl : public Internal::Control { public: static DummyControl New(); public: - inline void EnableGestureDetection(Gesture::Type type) { ControlImpl::EnableGestureDetection(type); } - inline void DisableGestureDetection(Gesture::Type type) { ControlImpl::DisableGestureDetection(type); } - inline PinchGestureDetector GetPinchGestureDetector() const { return ControlImpl::GetPinchGestureDetector(); } - inline PanGestureDetector GetPanGestureDetector() const { return ControlImpl::GetPanGestureDetector(); } - inline TapGestureDetector GetTapGestureDetector() const { return ControlImpl::GetTapGestureDetector(); } - inline LongPressGestureDetector GetLongPressGestureDetector() const { return ControlImpl::GetLongPressGestureDetector(); } + inline void EnableGestureDetection(Gesture::Type type) { Internal::Control::EnableGestureDetection(type); } + inline void DisableGestureDetection(Gesture::Type type) { Internal::Control::DisableGestureDetection(type); } + inline PinchGestureDetector GetPinchGestureDetector() const { return Internal::Control::GetPinchGestureDetector(); } + inline PanGestureDetector GetPanGestureDetector() const { return Internal::Control::GetPanGestureDetector(); } + inline TapGestureDetector GetTapGestureDetector() const { return Internal::Control::GetTapGestureDetector(); } + inline LongPressGestureDetector GetLongPressGestureDetector() const { return Internal::Control::GetLongPressGestureDetector(); } protected: @@ -86,8 +86,8 @@ protected: }; /** - * Cannot create an instance of ControlImpl, so use this dummy class for the implementation. - * This class DOES override ControlImpl's behaviour. + * Cannot create an instance of Internal::Control, so use this dummy class for the implementation. + * This class DOES override Internal::Control's behaviour. */ class DummyControlImplOverride : public DummyControlImpl { @@ -101,10 +101,11 @@ private: virtual ~DummyControlImplOverride(); -private: // From ControlImpl +private: // From Internal::Control virtual void OnInitialize(); - virtual void OnStyleChange(StyleChange change); + virtual void OnThemeChange( StyleManager styleManager ); + virtual void OnFontChange(bool defaultFontChange, bool defaultFontSizeChange); virtual void OnPinch(PinchGesture pinch); virtual void OnPan(PanGesture pan); virtual void OnTap(TapGesture tap); @@ -127,7 +128,8 @@ private: // From CustomActorImpl public: bool initializeCalled; - bool styleChangeCalled; + bool themeChangeCalled; + bool fontChangeCalled; bool pinchCalled; bool panCalled; bool tapCalled;