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=95b412622bcd7532bdfe3ac398a5a79e1f96f5a2;hb=refs%2Fchanges%2F82%2F96982%2F7;hp=d63b853993f5d91d6ebb4e3f593e5df543312957;hpb=1ff26466c5458cda1de2997cd4e27b014ff0275a;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 d63b853..95b4126 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 @@ -71,20 +71,21 @@ 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 RegisterVisual( Property::Index index, Toolkit::Visual::Base visual); + void RegisterVisual( Property::Index index, Toolkit::Visual::Base visual, bool enabled ); void UnregisterVisual( Property::Index index ); void EnableVisual( Property::Index index, bool enabled ); - bool IsVisualEnabled( Property::Index index ); + bool IsVisualEnabled( Property::Index indepx ); 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 ); bool mCustomSlot1Called; + typedef std::vector VisualIndices; + VisualIndices mRegisteredVisualIndices; protected: @@ -136,6 +137,7 @@ private: // From CustomActorImpl virtual bool OnKeyEvent(const KeyEvent& event); virtual void OnKeyInputFocusGained(); virtual void OnKeyInputFocusLost(); + virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); public: