X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Fdummy-control.h;h=d63b853993f5d91d6ebb4e3f593e5df543312957;hb=f4c1e7f52d49c3ce033b9ee4c3c7414b06a22d45;hp=496786e335498ef228ee340578120b14898db5ba;hpb=69e82a1bf2e1e4528efbdc6f87b502263cdfb150;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git 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 496786e..d63b853 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 @@ -28,7 +28,7 @@ namespace Toolkit { class DummyControlImpl; - +class ControlRenderer; /** * Control does not have a New method so use this dummy class for the handle. */ @@ -71,6 +71,16 @@ public: inline TapGestureDetector GetTapGestureDetector() const { return Internal::Control::GetTapGestureDetector(); } inline LongPressGestureDetector GetLongPressGestureDetector() const { return Internal::Control::GetLongPressGestureDetector(); } + void RegisterVisual( Property::Index index, Actor placementActor, Toolkit::Visual::Base visual); + void RegisterVisual( Property::Index index, Actor placementActor, Toolkit::Visual::Base visual, bool enabled ); + void UnregisterVisual( Property::Index index ); + void EnableVisual( Property::Index index, bool enabled ); + bool IsVisualEnabled( Property::Index index ); + + Toolkit::Visual::Base GetVisual( Property::Index index ); + Actor GetPlacementActor( Property::Index index ); + Animation CreateTransition( const Toolkit::TransitionData& transition ); + // Used to test signal connections void CustomSlot1( Actor actor );