From: György Straub Date: Fri, 4 Sep 2020 11:14:24 +0000 (+0100) Subject: Changed 'virtual' function override declarations to 'override' in dali-toolkit. X-Git-Tag: dali_1.9.29~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F243323%2F3;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git Changed 'virtual' function override declarations to 'override' in dali-toolkit. Change-Id: If046270d3b6036f8566a9c48e4064425c1498daa Signed-off-by: György Straub --- diff --git a/dali-toolkit/internal/accessibility-manager/accessibility-manager-impl.h b/dali-toolkit/internal/accessibility-manager/accessibility-manager-impl.h index 4eddb86..1e84bfb 100644 --- a/dali-toolkit/internal/accessibility-manager/accessibility-manager-impl.h +++ b/dali-toolkit/internal/accessibility-manager/accessibility-manager-impl.h @@ -490,54 +490,54 @@ private: * @param[in] panEvent The pan event to be handled. * @return whether the gesture is handled successfully or not. */ - virtual bool HandlePanGesture(const AccessibilityGestureEvent& panEvent); + bool HandlePanGesture(const AccessibilityGestureEvent& panEvent) override; /** * Change the accessibility status when Accessibility feature(screen-reader) turned on or off. * @return whether the status is changed or not. */ - virtual bool ChangeAccessibilityStatus(); + bool ChangeAccessibilityStatus() override; /** * Clear the accessibility focus from the current focused actor. * @return whether the focus is cleared or not. */ - virtual bool ClearAccessibilityFocus(); + bool ClearAccessibilityFocus() override; /** * Perform the accessibility action associated with a scroll event. * @param touch The touch point (and time) of the event. * @return whether the focus is cleared or not. */ - virtual bool AccessibilityActionScroll( Dali::TouchEvent& touch ); + bool AccessibilityActionScroll( Dali::TouchEvent& touch ) override; /** * Perform the accessibility action to move focus to the previous focusable actor (by one finger flick up). * @param allowEndFeedback true if end of list feedback should be played when the focus is alread reached to the end * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionPrevious(bool allowEndFeedback); + bool AccessibilityActionPrevious(bool allowEndFeedback) override; /** * Perform the accessibility action to move focus to the next focusable actor (by one finger flick down). * @param allowEndFeedback true if end of list feedback should be played when the focus is alread reached to the end * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionNext(bool allowEndFeedback); + bool AccessibilityActionNext(bool allowEndFeedback) override; /** * Perform the accessibility action to move focus to the previous focusable actor (by one finger flick left). * @param allowEndFeedback true if end of list feedback should be played when the focus is alread reached to the end * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionReadPrevious(bool allowEndFeedback); + bool AccessibilityActionReadPrevious(bool allowEndFeedback) override; /** * Perform the accessibility action to move focus to the next focusable actor (by one finger flick right). * @param allowEndFeedback true if end of list feedback should be played when the focus is alread reached to the end * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionReadNext(bool allowEndFeedback); + bool AccessibilityActionReadNext(bool allowEndFeedback) override; /** * Perform the accessibility action to focus and read the actor (by one finger tap or move). @@ -545,117 +545,117 @@ private: * false if the action just read when the focus object is changed (i.e. over action) * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionRead(bool allowReadAgain); + bool AccessibilityActionRead(bool allowReadAgain) override; /** * Perform the accessibility action to activate the current focused actor (by one finger double tap). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionActivate(); + bool AccessibilityActionActivate() override; /** * Perform the accessibility action to change the value when the current focused actor is a slider * (by double finger down and move up and right). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionUp(); + bool AccessibilityActionUp() override; /** * Perform the accessibility action to change the value when the current focused actor is a slider * (by double finger down and move down and left). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionDown(); + bool AccessibilityActionDown() override; /** * Perform the accessibility action to navigate back (by two fingers circle draw). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionBack(); + bool AccessibilityActionBack() override; /** * Perform the accessibility action to scroll up the list and focus on the first item on the list * after the scrolling and read the item (by two finger swipe up). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionScrollUp(); + bool AccessibilityActionScrollUp() override; /** * Perform the accessibility action to scroll down the list and focus on the first item on the list * after the scrolling and read the item (by two finger swipe down). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionScrollDown(); + bool AccessibilityActionScrollDown() override; /** * Perform the accessibility action to scroll left to the previous page (by two finger swipe left). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionPageLeft(); + bool AccessibilityActionPageLeft() override; /** * Perform the accessibility action to scroll right to the next page (by two finger swipe right). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionPageRight(); + bool AccessibilityActionPageRight() override; /** * Perform the accessibility action to scroll up to the previous page (by one finger swipe left and right). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionPageUp(); + bool AccessibilityActionPageUp() override; /** * Perform the accessibility action to scroll down to the next page (by one finger swipe right and left). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionPageDown(); + bool AccessibilityActionPageDown() override; /** * Perform the accessibility action to move the focus to the first item on the screen * (by one finger swipe up and down). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionMoveToFirst(); + bool AccessibilityActionMoveToFirst() override; /** * Perform the accessibility action to move the focus to the last item on the screen * (by one finger swipe down and up). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionMoveToLast(); + bool AccessibilityActionMoveToLast() override; /** * Perform the accessibility action to move the focus to the first item on the top * and read from the top item continuously (by three fingers single tap). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionReadFromTop(); + bool AccessibilityActionReadFromTop() override; /** * Perform the accessibility action to move the focus to and read from the next item * continuously (by three fingers double tap). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionReadFromNext(); + bool AccessibilityActionReadFromNext() override; /** * Perform the accessibility action to move the focus to do the zooming (by one finger triple tap). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionZoom(); + bool AccessibilityActionZoom() override; /** * Perform the accessibility action to pause/resume the current read out (by two fingers single tap). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionReadPauseResume(); + bool AccessibilityActionReadPauseResume() override; /** * Perform the accessibility action to start/stop the current action (by two fingers double tap). * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionStartStop(); + bool AccessibilityActionStartStop() override; /** * This function is connected to the TtsPlayer StateChangeSignal. diff --git a/dali-toolkit/internal/controls/alignment/alignment-impl.h b/dali-toolkit/internal/controls/alignment/alignment-impl.h index 7145781..73fe655 100644 --- a/dali-toolkit/internal/controls/alignment/alignment-impl.h +++ b/dali-toolkit/internal/controls/alignment/alignment-impl.h @@ -84,7 +84,7 @@ private: // From Control /** * @copydoc Control::OnRelayout() */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; private: diff --git a/dali-toolkit/internal/controls/bloom-view/bloom-view-impl.h b/dali-toolkit/internal/controls/bloom-view/bloom-view-impl.h index 0377146..09732e0 100644 --- a/dali-toolkit/internal/controls/bloom-view/bloom-view-impl.h +++ b/dali-toolkit/internal/controls/bloom-view/bloom-view-impl.h @@ -82,18 +82,18 @@ public: private: - virtual void OnInitialize(); - virtual void OnSizeSet(const Vector3& targetSize); + void OnInitialize() override; + void OnSizeSet(const Vector3& targetSize) override; /** * @copydoc Control::OnChildAdd() */ - virtual void OnChildAdd( Actor& child ); + void OnChildAdd( Actor& child ) override; /** * @copydoc Control::OnChildRemove() */ - virtual void OnChildRemove( Actor& child ); + void OnChildRemove( Actor& child ) override; void AllocateResources(); void CreateRenderTasks(); diff --git a/dali-toolkit/internal/controls/buttons/button-impl.h b/dali-toolkit/internal/controls/buttons/button-impl.h index e9c0f14..53a8890 100644 --- a/dali-toolkit/internal/controls/buttons/button-impl.h +++ b/dali-toolkit/internal/controls/buttons/button-impl.h @@ -316,43 +316,43 @@ protected: // From Control * @copydoc Toolkit::Control::OnInitialize() * @note If overridden by deriving button classes, then an up-call to Button::OnInitialize MUST be made at the start. */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Toolkit::Control::OnAccessibilityActivated() */ - virtual bool OnAccessibilityActivated(); + bool OnAccessibilityActivated() override; /** * @copydoc Toolkit::Control::OnKeyboardEnter() */ - virtual bool OnKeyboardEnter(); + bool OnKeyboardEnter() override; /** * @copydoc Toolkit::Control::OnSceneDisconnection() * @note If overridden by deriving button classes, then an up-call to Button::OnSceneDisconnection MUST be made at the end. */ - virtual void OnSceneDisconnection(); + void OnSceneDisconnection() override; /** * @copydoc Toolkit::Control::OnSceneConnection() */ - virtual void OnSceneConnection( int depth ); + void OnSceneConnection( int depth ) override; /** * @copydoc Toolkit::Control::GetNaturalSize */ - virtual Vector3 GetNaturalSize(); + Vector3 GetNaturalSize() override; /** * @copydoc Toolkit::Control::OnSetResizePolicy */ - virtual void OnSetResizePolicy( ResizePolicy::Type policy, Dimension::Type dimension ); + void OnSetResizePolicy( ResizePolicy::Type policy, Dimension::Type dimension ) override; /** * @copydoc Toolkit::Control::OnRelayout */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; private: diff --git a/dali-toolkit/internal/controls/buttons/check-box-button-impl.h b/dali-toolkit/internal/controls/buttons/check-box-button-impl.h index aa99068..63ffbe5 100644 --- a/dali-toolkit/internal/controls/buttons/check-box-button-impl.h +++ b/dali-toolkit/internal/controls/buttons/check-box-button-impl.h @@ -68,7 +68,7 @@ private: // From Button /** * @copydoc Toolkit::Internal::Button::OnInitialize */ - virtual void OnInitialize(); + void OnInitialize() override; private: diff --git a/dali-toolkit/internal/controls/buttons/push-button-impl.h b/dali-toolkit/internal/controls/buttons/push-button-impl.h index 8e11d79..a91981b 100644 --- a/dali-toolkit/internal/controls/buttons/push-button-impl.h +++ b/dali-toolkit/internal/controls/buttons/push-button-impl.h @@ -98,7 +98,7 @@ private: // From Button /** * @copydoc Toolkit::Internal::Button::OnInitialize */ - virtual void OnInitialize(); + void OnInitialize() override; private: diff --git a/dali-toolkit/internal/controls/buttons/radio-button-impl.h b/dali-toolkit/internal/controls/buttons/radio-button-impl.h index 3923d99..bd30c12 100644 --- a/dali-toolkit/internal/controls/buttons/radio-button-impl.h +++ b/dali-toolkit/internal/controls/buttons/radio-button-impl.h @@ -66,17 +66,17 @@ private: // From Button /** * @copydoc Toolkit::Internal::Button::OnInitialize */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Toolkit::Internal::Button::OnStateChange */ - virtual void OnStateChange( State newState ); + void OnStateChange( State newState ) override; /** * @copydoc Toolkit::Internal::Button::OnToggleReleased */ - virtual bool OnToggleReleased(); + bool OnToggleReleased() override; private: diff --git a/dali-toolkit/internal/controls/buttons/toggle-button-impl.h b/dali-toolkit/internal/controls/buttons/toggle-button-impl.h index 2c4f753..138ee19 100644 --- a/dali-toolkit/internal/controls/buttons/toggle-button-impl.h +++ b/dali-toolkit/internal/controls/buttons/toggle-button-impl.h @@ -134,17 +134,17 @@ private: // From Button /** * @copydoc Toolkit::Internal::Button::OnInitialize */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Toolkit::Internal::Button::OnRelayout */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; /** * This method is called when the button is pressed. */ - virtual void OnPressed(); + void OnPressed() override; private: diff --git a/dali-toolkit/internal/controls/control/control-data-impl.h b/dali-toolkit/internal/controls/control/control-data-impl.h index c561fdd..43cab69 100755 --- a/dali-toolkit/internal/controls/control/control-data-impl.h +++ b/dali-toolkit/internal/controls/control/control-data-impl.h @@ -125,7 +125,7 @@ public: * @param[in] object The visual whose resources are ready * @note Overriding method in Visual::EventObserver. */ - virtual void ResourceReady( Visual::Base& object ) override; + void ResourceReady( Visual::Base& object ) override; /** * @brief Called when an event occurs. @@ -133,7 +133,7 @@ public: * @param[in] signalId The signal to emit. See Visual to find supported signals * @note Overriding method in Visual::EventObserver. */ - virtual void NotifyVisualEvent( Visual::Base& object, Property::Index signalId ) override; + void NotifyVisualEvent( Visual::Base& object, Property::Index signalId ) override; /** * @copydoc Dali::Toolkit::DevelControl::RegisterVisual() diff --git a/dali-toolkit/internal/controls/effects-view/effects-view-impl.h b/dali-toolkit/internal/controls/effects-view/effects-view-impl.h index bd09dcb..6abeb20 100644 --- a/dali-toolkit/internal/controls/effects-view/effects-view-impl.h +++ b/dali-toolkit/internal/controls/effects-view/effects-view-impl.h @@ -120,32 +120,32 @@ private: // From Control /** * @copydoc Toolkit::Internal::Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc CustomActorImpl::OnSizeSet( const Vector3& targetSize ) */ - virtual void OnSizeSet( const Vector3& targetSize ); + void OnSizeSet( const Vector3& targetSize ) override; /** * @copydoc Toolkit::Internal::Control::OnSceneConnection */ - virtual void OnSceneConnection( int depth ); + void OnSceneConnection( int depth ) override; /** * @copydoc Toolkit::Internal::Control::OnSceneDisconnection */ - virtual void OnSceneDisconnection(); + void OnSceneDisconnection() override; /** * @copydoc Toolkit::Internal::Control::OnChildAdd */ - virtual void OnChildAdd( Actor& child ); + void OnChildAdd( Actor& child ) override; /** * @copydoc Toolkit::Internal::Control::OnChildRemove */ - virtual void OnChildRemove( Actor& child ); + void OnChildRemove( Actor& child ) override; private: diff --git a/dali-toolkit/internal/controls/flex-container/flex-container-impl.h b/dali-toolkit/internal/controls/flex-container/flex-container-impl.h index a4cb269..cef0e94 100755 --- a/dali-toolkit/internal/controls/flex-container/flex-container-impl.h +++ b/dali-toolkit/internal/controls/flex-container/flex-container-impl.h @@ -170,37 +170,37 @@ private: // From Control /** * @copydoc Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Control::OnChildAdd(Actor& child) */ - virtual void OnChildAdd( Actor& child ); + void OnChildAdd( Actor& child ) override; /** * @copydoc Control::OnChildRemove(Actor& child) */ - virtual void OnChildRemove( Actor& child ); + void OnChildRemove( Actor& child ) override; /** * @copydoc Control::OnRelayout */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; /** * @copydoc Control::RelayoutDependentOnChildren() */ - virtual bool RelayoutDependentOnChildren( Dimension::Type dimension = Dimension::ALL_DIMENSIONS ); + bool RelayoutDependentOnChildren( Dimension::Type dimension = Dimension::ALL_DIMENSIONS ) override; /** * @copydoc Control::GetNextKeyboardFocusableActor */ - virtual Actor GetNextKeyboardFocusableActor( Actor currentFocusedActor, Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled ); + Actor GetNextKeyboardFocusableActor( Actor currentFocusedActor, Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled ) override; /** * @copydoc CustomActorImpl::OnSizeSet( const Vector3& size ) */ - virtual void OnSizeSet( const Vector3& size ); + void OnSizeSet( const Vector3& size ) override; /** * @copydoc OnLayoutDirectionChanged( Dali::Actor actor, Dali::LayoutDirection::Type type ) diff --git a/dali-toolkit/internal/controls/gaussian-blur-view/gaussian-blur-view-impl.h b/dali-toolkit/internal/controls/gaussian-blur-view/gaussian-blur-view-impl.h index 76fe76c..a1e7d50 100644 --- a/dali-toolkit/internal/controls/gaussian-blur-view/gaussian-blur-view-impl.h +++ b/dali-toolkit/internal/controls/gaussian-blur-view/gaussian-blur-view-impl.h @@ -93,18 +93,18 @@ public: private: - virtual void OnInitialize(); - virtual void OnSizeSet(const Vector3& targetSize); + void OnInitialize() override; + void OnSizeSet(const Vector3& targetSize) override; /** * @copydoc Control::OnChildAdd() */ - virtual void OnChildAdd( Actor& child ); + void OnChildAdd( Actor& child ) override; /** * @copydoc Control::OnChildRemove() */ - virtual void OnChildRemove( Actor& child ); + void OnChildRemove( Actor& child ) override; void SetBlurBellCurveWidth(float blurBellCurveWidth); float CalcGaussianWeight(float x); diff --git a/dali-toolkit/internal/controls/image-view/image-view-impl.h b/dali-toolkit/internal/controls/image-view/image-view-impl.h index 8c69678..2881175 100644 --- a/dali-toolkit/internal/controls/image-view/image-view-impl.h +++ b/dali-toolkit/internal/controls/image-view/image-view-impl.h @@ -120,22 +120,22 @@ private: // From Control /** * @copydoc Toolkit::Control::GetNaturalSize */ - virtual Vector3 GetNaturalSize(); + Vector3 GetNaturalSize() override; /** * @copydoc Toolkit::Control::GetHeightForWidth() */ - virtual float GetHeightForWidth( float width ); + float GetHeightForWidth( float width ) override; /** * @copydoc Toolkit::Control::GetWidthForHeight() */ - virtual float GetWidthForHeight( float height ); + float GetWidthForHeight( float height ) override; /** * @copydoc Toolkit::Control::OnRelayout() */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; private: diff --git a/dali-toolkit/internal/controls/magnifier/magnifier-impl.h b/dali-toolkit/internal/controls/magnifier/magnifier-impl.h index c707523..b4d7b0f 100644 --- a/dali-toolkit/internal/controls/magnifier/magnifier-impl.h +++ b/dali-toolkit/internal/controls/magnifier/magnifier-impl.h @@ -137,7 +137,7 @@ private: private: - virtual void OnSizeSet(const Vector3& targetSize); + void OnSizeSet(const Vector3& targetSize) override; private: diff --git a/dali-toolkit/internal/controls/model3d-view/model3d-view-impl.h b/dali-toolkit/internal/controls/model3d-view/model3d-view-impl.h index a3fed9b..cb0c22b 100644 --- a/dali-toolkit/internal/controls/model3d-view/model3d-view-impl.h +++ b/dali-toolkit/internal/controls/model3d-view/model3d-view-impl.h @@ -76,7 +76,7 @@ public: /** * @copydoc Control::OnRelayout */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; /** * @brief Called to load both geometry (.obj) and material (.mtl) files @@ -101,12 +101,12 @@ private: /** * @copydoc Toolkit::Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc CustomActorImpl::OnSceneConnection() */ - virtual void OnSceneConnection( int depth ); + void OnSceneConnection( int depth ) override; private: diff --git a/dali-toolkit/internal/controls/navigation-view/navigation-view-impl.h b/dali-toolkit/internal/controls/navigation-view/navigation-view-impl.h index 23b0e6a..d766ebe 100644 --- a/dali-toolkit/internal/controls/navigation-view/navigation-view-impl.h +++ b/dali-toolkit/internal/controls/navigation-view/navigation-view-impl.h @@ -80,7 +80,7 @@ private: // override functions from Control /** * @copydoc Control::OnSceneConnection( int depth ) */ - virtual void OnSceneConnection( int depth ); + void OnSceneConnection( int depth ) override; /** * @copydoc Control::OnRelayout() diff --git a/dali-toolkit/internal/controls/page-turn-view/page-turn-landscape-view-impl.h b/dali-toolkit/internal/controls/page-turn-view/page-turn-landscape-view-impl.h index aee1d5e..c0c5d13 100644 --- a/dali-toolkit/internal/controls/page-turn-view/page-turn-landscape-view-impl.h +++ b/dali-toolkit/internal/controls/page-turn-view/page-turn-landscape-view-impl.h @@ -59,22 +59,22 @@ protected: // From PageTurnView /** * @copydoc PageTurnView::OnPageTurnViewInitialize */ - virtual void OnPageTurnViewInitialize(); + void OnPageTurnViewInitialize() override; /** * @copydoc PageTurnView::OnAddPage */ - virtual void OnAddPage( Actor newPage, bool isLeftSide ); + void OnAddPage( Actor newPage, bool isLeftSide ) override; /** * @copydoc PageTurnView::SetPanPosition */ - virtual Vector2 SetPanPosition( const Vector2& gesturePosition ); + Vector2 SetPanPosition( const Vector2& gesturePosition ) override; /** * @copydoc PageTurnView::SetPanActor */ - virtual void SetPanActor( const Vector2& panPosition ); + void SetPanActor( const Vector2& panPosition ) override; private: diff --git a/dali-toolkit/internal/controls/page-turn-view/page-turn-portrait-view-impl.h b/dali-toolkit/internal/controls/page-turn-view/page-turn-portrait-view-impl.h index 3cf9ef4..358ad76 100644 --- a/dali-toolkit/internal/controls/page-turn-view/page-turn-portrait-view-impl.h +++ b/dali-toolkit/internal/controls/page-turn-view/page-turn-portrait-view-impl.h @@ -63,27 +63,27 @@ protected: // From PageTurnView /** * @copydoc PageTurnView::OnPageTurnViewInitialize */ - virtual void OnPageTurnViewInitialize(); + void OnPageTurnViewInitialize() override; /** * @copydoc PageTurnView::SetPanPosition */ - virtual Vector2 SetPanPosition( const Vector2& gesturePosition ); + Vector2 SetPanPosition( const Vector2& gesturePosition ) override; /** * @copydoc PageTurnView::SetPanActor */ - virtual void SetPanActor( const Vector2& panPosition ); + void SetPanActor( const Vector2& panPosition ) override; /** * @copydoc PageTurnView::OnPossibleOutwardsFlick */ - virtual void OnPossibleOutwardsFlick( const Vector2& panPosition, float gestureSpeed ); + void OnPossibleOutwardsFlick( const Vector2& panPosition, float gestureSpeed ) override; /** * @copydoc PageTurnView::OnTurnedOver */ - virtual void OnTurnedOver( Actor actor, bool isLeftSide ); + void OnTurnedOver( Actor actor, bool isLeftSide ) override; private: diff --git a/dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.h b/dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.h index 3815bd8..7023daf 100644 --- a/dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.h +++ b/dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.h @@ -250,22 +250,22 @@ private: // from Control /** * @copydoc Toolkit::Control::OnPan */ - virtual void OnPan( const PanGesture& gesture ); + void OnPan( const PanGesture& gesture ) override; /** * @copydoc Toolkit::Control::OnInitialize */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc CustomActorImpl::OnSceneConnection() */ - virtual void OnSceneConnection( int depth ); + void OnSceneConnection( int depth ) override; /** * @copydoc CustomActorImpl::OnSceneDisconnection() */ - virtual void OnSceneDisconnection(); + void OnSceneDisconnection() override; private: // implemented differently by PageTurnLandscapeView and PageTurnPortraitView diff --git a/dali-toolkit/internal/controls/popup/popup-impl.h b/dali-toolkit/internal/controls/popup/popup-impl.h index 17217d6..a7f7120 100644 --- a/dali-toolkit/internal/controls/popup/popup-impl.h +++ b/dali-toolkit/internal/controls/popup/popup-impl.h @@ -425,7 +425,7 @@ private: /** * @copydoc Toolkit::Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * Called whenever the popup layout is re-set up. @@ -437,43 +437,43 @@ private: /** * Called when the popup is directly or indirectly parented to the stage. */ - virtual void OnSceneConnection( int depth ); + void OnSceneConnection( int depth ) override; /** * From Control; called after a child has been added to the owning actor. * @param[in] child The child which has been added. */ - virtual void OnChildAdd( Actor& child ); + void OnChildAdd( Actor& child ) override; /** * @copydoc Control::OnRelayOut() */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; /** * @copydoc Control::OnSetResizePolicy() */ - virtual void OnSetResizePolicy( ResizePolicy::Type policy, Dimension::Type dimension ); + void OnSetResizePolicy( ResizePolicy::Type policy, Dimension::Type dimension ) override; /** * @copydoc Control::GetNaturalSize() */ - virtual Vector3 GetNaturalSize(); + Vector3 GetNaturalSize() override; /** * @copydoc Control::GetHeightForWidth() */ - virtual float GetHeightForWidth( float width ); + float GetHeightForWidth( float width ) override; /** * @copydoc Control::GetWidthForHeight() */ - virtual float GetWidthForHeight( float height ); + float GetWidthForHeight( float height ) override; /** * @copydoc Control::OnKeyEvent() */ - virtual bool OnKeyEvent( const KeyEvent& event ); + bool OnKeyEvent( const KeyEvent& event ) override; /** * @copydoc Control::GetNextKeyboardFocusableActor() diff --git a/dali-toolkit/internal/controls/progress-bar/progress-bar-impl.h b/dali-toolkit/internal/controls/progress-bar/progress-bar-impl.h index 88fb7ed..bdc5da9 100755 --- a/dali-toolkit/internal/controls/progress-bar/progress-bar-impl.h +++ b/dali-toolkit/internal/controls/progress-bar/progress-bar-impl.h @@ -171,12 +171,12 @@ protected: /** * @copydoc CustomActorImpl::OnRelayout() */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; /** * @copydoc CustomActorImpl::GetNaturalSize() */ - virtual Vector3 GetNaturalSize(); + Vector3 GetNaturalSize() override; private: @@ -202,7 +202,7 @@ private: /** * @copydoc Toolkit::Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * Get the range of the valid values the ProgressBar handle can move between @@ -245,7 +245,7 @@ private: /** * Check if we should start animating */ - virtual void OnSceneConnection( int depth ); + void OnSceneConnection( int depth ) override; private: diff --git a/dali-toolkit/internal/controls/scroll-bar/scroll-bar-impl.h b/dali-toolkit/internal/controls/scroll-bar/scroll-bar-impl.h index 3049227..de93aca 100644 --- a/dali-toolkit/internal/controls/scroll-bar/scroll-bar-impl.h +++ b/dali-toolkit/internal/controls/scroll-bar/scroll-bar-impl.h @@ -212,17 +212,17 @@ private: // from Control /** * @copydoc Toolkit::Control::OnInitialize */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Toolkit::Control::OnPan */ - virtual void OnPan( const PanGesture& gesture ); + void OnPan( const PanGesture& gesture ) override; /** * @copydoc CustomActorImpl::OnSizeSet( const Vector3& size ) */ - virtual void OnSizeSet( const Vector3& size ); + void OnSizeSet( const Vector3& size ) override; private: diff --git a/dali-toolkit/internal/controls/scrollable/item-view/depth-layout.h b/dali-toolkit/internal/controls/scrollable/item-view/depth-layout.h index 0a262ed..83917fb 100755 --- a/dali-toolkit/internal/controls/scrollable/item-view/depth-layout.h +++ b/dali-toolkit/internal/controls/scrollable/item-view/depth-layout.h @@ -144,74 +144,74 @@ public: /** * @copydoc ItemLayout::GetScrollSpeedFactor() */ - virtual float GetScrollSpeedFactor() const; + float GetScrollSpeedFactor() const override; /** * @copydoc ItemLayout::GetMaximumSwipeSpeed() */ - virtual float GetMaximumSwipeSpeed() const; + float GetMaximumSwipeSpeed() const override; /** * @copydoc ItemLayout::GetItemFlickAnimationDuration() */ - virtual float GetItemFlickAnimationDuration() const; + float GetItemFlickAnimationDuration() const override; /** * @copydoc ItemLayout::GetClosestOnScreenLayoutPosition() */ - virtual float GetClosestOnScreenLayoutPosition(int itemID, float currentLayoutPosition, const Vector3& layoutSize); + float GetClosestOnScreenLayoutPosition(int itemID, float currentLayoutPosition, const Vector3& layoutSize) override; /** * @copydoc ItemLayout::GetNextFocusItemID() */ - virtual int GetNextFocusItemID(int itemID, int maxItems, Dali::Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled); + int GetNextFocusItemID(int itemID, int maxItems, Dali::Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled) override; private: /** * @copydoc ItemLayout::GetMinimumLayoutPosition() */ - virtual float GetMinimumLayoutPosition(unsigned int numberOfItems, Vector3 layoutSize) const; + float GetMinimumLayoutPosition(unsigned int numberOfItems, Vector3 layoutSize) const override; /** * @copydoc ItemLayout::GetClosestAnchorPosition() */ - virtual float GetClosestAnchorPosition(float layoutPosition) const; + float GetClosestAnchorPosition(float layoutPosition) const override; /** * @copydoc ItemLayout::GetItemScrollToPosition() */ - virtual float GetItemScrollToPosition(unsigned int itemId) const; + float GetItemScrollToPosition(unsigned int itemId) const override; /** * @copydoc ItemLayout::GetItemsWithinArea() */ - virtual ItemRange GetItemsWithinArea(float firstItemPosition, Vector3 layoutSize) const; + ItemRange GetItemsWithinArea(float firstItemPosition, Vector3 layoutSize) const override; /** * @copydoc ItemLayout::GetReserveItemCount() */ - virtual unsigned int GetReserveItemCount(Vector3 layoutSize) const; + unsigned int GetReserveItemCount(Vector3 layoutSize) const override; /** * @copydoc ItemLayout::GetDefaultItemSize() */ - virtual void GetDefaultItemSize( unsigned int itemId, const Vector3& layoutSize, Vector3& itemSize ) const; + void GetDefaultItemSize( unsigned int itemId, const Vector3& layoutSize, Vector3& itemSize ) const override; /** * @copydoc ItemLayout::GetScrollDirection() */ - virtual Degree GetScrollDirection() const; + Degree GetScrollDirection() const override; /** * @copydoc ItemLayout::ApplyConstraints() */ - virtual void ApplyConstraints( Actor& actor, const int itemId, const Vector3& layoutSize, const Actor& itemViewActor ); + void ApplyConstraints( Actor& actor, const int itemId, const Vector3& layoutSize, const Actor& itemViewActor ) override; /** * @copydoc ItemLayout::GetItemPosition() */ - virtual Vector3 GetItemPosition( int itemID, float currentLayoutPosition, const Vector3& layoutSize ) const; + Vector3 GetItemPosition( int itemID, float currentLayoutPosition, const Vector3& layoutSize ) const override; protected: diff --git a/dali-toolkit/internal/controls/scrollable/item-view/grid-layout.h b/dali-toolkit/internal/controls/scrollable/item-view/grid-layout.h index 915e8a6..92ca3c9 100755 --- a/dali-toolkit/internal/controls/scrollable/item-view/grid-layout.h +++ b/dali-toolkit/internal/controls/scrollable/item-view/grid-layout.h @@ -188,74 +188,74 @@ public: /** * @copydoc ItemLayout::GetScrollSpeedFactor() */ - virtual float GetScrollSpeedFactor() const; + float GetScrollSpeedFactor() const override; /** * @copydoc ItemLayout::GetMaximumSwipeSpeed() */ - virtual float GetMaximumSwipeSpeed() const; + float GetMaximumSwipeSpeed() const override; /** * @copydoc ItemLayout::GetItemFlickAnimationDuration() */ - virtual float GetItemFlickAnimationDuration() const; + float GetItemFlickAnimationDuration() const override; /** * @copydoc ItemLayout::GetClosestOnScreenLayoutPosition() */ - virtual float GetClosestOnScreenLayoutPosition(int itemID, float currentLayoutPosition, const Vector3& layoutSize); + float GetClosestOnScreenLayoutPosition(int itemID, float currentLayoutPosition, const Vector3& layoutSize) override; /** * @copydoc ItemLayout::GetNextFocusItemID() */ - virtual int GetNextFocusItemID(int itemID, int maxItems, Dali::Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled); + int GetNextFocusItemID(int itemID, int maxItems, Dali::Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled) override; private: /** * @copydoc ItemLayout::GetMinimumLayoutPosition() */ - virtual float GetMinimumLayoutPosition(unsigned int numberOfItems, Vector3 layoutSize) const; + float GetMinimumLayoutPosition(unsigned int numberOfItems, Vector3 layoutSize) const override; /** * @copydoc ItemLayout::GetClosestAnchorPosition() */ - virtual float GetClosestAnchorPosition(float layoutPosition) const; + float GetClosestAnchorPosition(float layoutPosition) const override; /** * @copydoc ItemLayout::GetItemScrollToPosition() */ - virtual float GetItemScrollToPosition(unsigned int itemId) const; + float GetItemScrollToPosition(unsigned int itemId) const override; /** * @copydoc ItemLayout::GetItemsWithinArea() */ - virtual ItemRange GetItemsWithinArea(float firstItemPosition, Vector3 layoutSize) const; + ItemRange GetItemsWithinArea(float firstItemPosition, Vector3 layoutSize) const override; /** * @copydoc ItemLayout::GetReserveItemCount() */ - virtual unsigned int GetReserveItemCount(Vector3 layoutSize) const; + unsigned int GetReserveItemCount(Vector3 layoutSize) const override; /** * @copydoc ItemLayout::GetDefaultItemSize() */ - virtual void GetDefaultItemSize( unsigned int itemId, const Vector3& layoutSize, Vector3& itemSize ) const; + void GetDefaultItemSize( unsigned int itemId, const Vector3& layoutSize, Vector3& itemSize ) const override; /** * @copydoc ItemLayout::GetScrollDirection() */ - virtual Degree GetScrollDirection() const; + Degree GetScrollDirection() const override; /** * @copydoc ItemLayout::ApplyConstraints() */ - virtual void ApplyConstraints( Actor& actor, const int itemId, const Vector3& layoutSize, const Actor& itemViewActor ); + void ApplyConstraints( Actor& actor, const int itemId, const Vector3& layoutSize, const Actor& itemViewActor ) override; /** * @copydoc ItemLayout::GetItemPosition() */ - virtual Vector3 GetItemPosition( int itemID, float currentLayoutPosition, const Vector3& layoutSize ) const; + Vector3 GetItemPosition( int itemID, float currentLayoutPosition, const Vector3& layoutSize ) const override; protected: diff --git a/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h b/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h index 12894af..07cb9d5 100755 --- a/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h +++ b/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h @@ -409,7 +409,7 @@ private: // From CustomActorImpl * From CustomActorImpl; called after a child has been added to the owning actor. * @param[in] child The child which has been added. */ - virtual void OnChildAdd(Actor& child); + void OnChildAdd(Actor& child) override; /** * Called after a wheel-event is received by the owning actor. @@ -424,22 +424,22 @@ private: // From Control /** * @copydoc Toolkit::Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Toolkit::Control::OnAccessibilityPan() */ - virtual bool OnAccessibilityPan(PanGesture gesture); + bool OnAccessibilityPan(PanGesture gesture) override; /** * @copydoc Toolkit::Control::GetNextKeyboardFocusableActor() */ - virtual Actor GetNextKeyboardFocusableActor(Actor actor, Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled); + Actor GetNextKeyboardFocusableActor(Actor actor, Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled) override; /** * @copydoc Toolkit::Control::OnKeyboardFocusChangeCommitted() */ - virtual void OnKeyboardFocusChangeCommitted(Actor commitedFocusableActor); + void OnKeyboardFocusChangeCommitted(Actor commitedFocusableActor) override; protected: @@ -562,7 +562,7 @@ private: /** * @copydoc Toolkit::Internal::Scrollable::EnableScrollOvershoot */ - virtual void EnableScrollOvershoot( bool enable ); + void EnableScrollOvershoot( bool enable ) override; /** * Helper to calculate the scroll overshoot according to the pan gesture displacement. diff --git a/dali-toolkit/internal/controls/scrollable/item-view/spiral-layout.h b/dali-toolkit/internal/controls/scrollable/item-view/spiral-layout.h index 4d65433..7143c19 100755 --- a/dali-toolkit/internal/controls/scrollable/item-view/spiral-layout.h +++ b/dali-toolkit/internal/controls/scrollable/item-view/spiral-layout.h @@ -121,69 +121,69 @@ public: /** * @copydoc ItemLayout::GetScrollSpeedFactor() */ - virtual float GetScrollSpeedFactor() const; + float GetScrollSpeedFactor() const override; /** * @copydoc ItemLayout::GetMaximumSwipeSpeed() */ - virtual float GetMaximumSwipeSpeed() const; + float GetMaximumSwipeSpeed() const override; /** * @copydoc ItemLayout::GetItemFlickAnimationDuration() */ - virtual float GetItemFlickAnimationDuration() const; + float GetItemFlickAnimationDuration() const override; /** * @copydoc ItemLayout::GetClosestOnScreenLayoutPosition() */ - virtual float GetClosestOnScreenLayoutPosition(int itemID, float currentLayoutPosition, const Vector3& layoutSize); + float GetClosestOnScreenLayoutPosition(int itemID, float currentLayoutPosition, const Vector3& layoutSize) override; private: /** * @copydoc ItemLayout::GetMinimumLayoutPosition() */ - virtual float GetMinimumLayoutPosition(unsigned int numberOfItems, Vector3 layoutSize) const; + float GetMinimumLayoutPosition(unsigned int numberOfItems, Vector3 layoutSize) const override; /** * @copydoc ItemLayout::GetClosestAnchorPosition() */ - virtual float GetClosestAnchorPosition(float layoutPosition) const; + float GetClosestAnchorPosition(float layoutPosition) const override; /** * @copydoc ItemLayout::GetItemScrollToPosition() */ - virtual float GetItemScrollToPosition(unsigned int itemId) const; + float GetItemScrollToPosition(unsigned int itemId) const override; /** * @copydoc ItemLayout::GetItemsWithinArea() */ - virtual ItemRange GetItemsWithinArea(float firstItemPosition, Vector3 layoutSize) const; + ItemRange GetItemsWithinArea(float firstItemPosition, Vector3 layoutSize) const override; /** * @copydoc ItemLayout::GetReserveItemCount() */ - virtual unsigned int GetReserveItemCount(Vector3 layoutSize) const; + unsigned int GetReserveItemCount(Vector3 layoutSize) const override; /** * @copydoc ItemLayout::GetDefaultItemSize() */ - virtual void GetDefaultItemSize( unsigned int itemId, const Vector3& layoutSize, Vector3& itemSize ) const; + void GetDefaultItemSize( unsigned int itemId, const Vector3& layoutSize, Vector3& itemSize ) const override; /** * @copydoc ItemLayout::GetScrollDirection() */ - virtual Degree GetScrollDirection() const; + Degree GetScrollDirection() const override; /** * @copydoc ItemLayout::ApplyConstraints() */ - virtual void ApplyConstraints( Actor& actor, const int itemId, const Vector3& layoutSize, const Actor& itemViewActor ); + void ApplyConstraints( Actor& actor, const int itemId, const Vector3& layoutSize, const Actor& itemViewActor ) override; /** * @copydoc ItemLayout::GetItemPosition() */ - virtual Vector3 GetItemPosition( int itemID, float currentLayoutPosition, const Vector3& layoutSize ) const; + Vector3 GetItemPosition( int itemID, float currentLayoutPosition, const Vector3& layoutSize ) const override; protected: diff --git a/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-overshoot-indicator-impl.h b/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-overshoot-indicator-impl.h index fd408ac..a3b5292 100644 --- a/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-overshoot-indicator-impl.h +++ b/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-overshoot-indicator-impl.h @@ -185,17 +185,17 @@ public: /** * @copydoc ScrollOvershootEffect::Apply */ - virtual void Apply(); + void Apply() override; /** * @copydoc ScrollOvershootEffect::Remove */ - virtual void Remove( Scrollable& scrollable ); + void Remove( Scrollable& scrollable ) override; /** * @copydoc ScrollOvershootEffect::Reset */ - virtual void Reset(); + void Reset() override; /** * @copydoc ScrollOvershootEffect::UpdatePropertyNotifications diff --git a/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.h b/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.h index ec7b893..2bda8c8 100644 --- a/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.h +++ b/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.h @@ -546,24 +546,24 @@ private: // private overridden functions from CustomActorImpl and Controls /** * @copydoc Dali::CustomActorImpl::OnSizeAnimation(Animation&, const Vector3&) */ - virtual void OnSizeAnimation(Animation& animation, const Vector3& targetSize); + void OnSizeAnimation(Animation& animation, const Vector3& targetSize) override; /** * @copydoc CustomActorImpl::OnSizeSet(const Vector3&) */ - virtual void OnSizeSet( const Vector3& size ); + void OnSizeSet( const Vector3& size ) override; /** * From CustomActorImpl; called after a child has been added to the owning actor. * @param[in] child The child which has been added. */ - virtual void OnChildAdd(Actor& child); + void OnChildAdd(Actor& child) override; /** * From CustomActorImpl; called shortly before a child is removed from the owning actor. * @param[in] child The child being removed. */ - virtual void OnChildRemove(Actor& child); + void OnChildRemove(Actor& child) override; /** * Called after a wheelEvent is received by the owning actor. @@ -576,27 +576,27 @@ private: // private overridden functions from CustomActorImpl and Controls /** * @copydoc Toolkit::Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc CustomActorImpl::OnSceneConnection() */ - virtual void OnSceneConnection( int depth ); + void OnSceneConnection( int depth ) override; /** * @copydoc CustomActorImpl::OnSceneDisconnection() */ - virtual void OnSceneDisconnection(); + void OnSceneDisconnection() override; /** * @copydoc Toolkit::Control::OnAccessibilityPan() */ - virtual bool OnAccessibilityPan(PanGesture gesture); + bool OnAccessibilityPan(PanGesture gesture) override; /** * @copydoc Toolkit::Scrollable::EnableScrollOvershoot() */ - virtual void EnableScrollOvershoot(bool enable); + void EnableScrollOvershoot(bool enable) override; private: @@ -820,7 +820,7 @@ private: * * @param[in] child The actor to be unbound. */ - virtual void FindAndUnbindActor(Actor child); + void FindAndUnbindActor(Actor child) override; /** * Gets position property. diff --git a/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-page-path-effect-impl.h b/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-page-path-effect-impl.h index d6fcccd..ecd3f2a 100644 --- a/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-page-path-effect-impl.h +++ b/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-page-path-effect-impl.h @@ -65,12 +65,12 @@ public: /** * @copydoc ScrollViewEffect::OnAttach */ - virtual void OnAttach( Toolkit::ScrollView& scrollView ); + void OnAttach( Toolkit::ScrollView& scrollView ) override; /** * @copydoc ScrollViewEffect::OnDetach */ - virtual void OnDetach( Toolkit::ScrollView& scrollView ); + void OnDetach( Toolkit::ScrollView& scrollView ) override; protected: diff --git a/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.h b/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.h index 1cc97ca..65516c3 100644 --- a/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.h +++ b/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.h @@ -114,17 +114,17 @@ public: private: - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Control::OnChildAdd() */ - virtual void OnChildAdd( Actor& child ); + void OnChildAdd( Actor& child ) override; /** * @copydoc Control::OnChildRemove() */ - virtual void OnChildRemove( Actor& child ); + void OnChildRemove( Actor& child ) override; /** * Constrain the camera actor to the position of the point light, pointing diff --git a/dali-toolkit/internal/controls/slider/slider-impl.h b/dali-toolkit/internal/controls/slider/slider-impl.h index 6092abd..d79c636 100755 --- a/dali-toolkit/internal/controls/slider/slider-impl.h +++ b/dali-toolkit/internal/controls/slider/slider-impl.h @@ -284,7 +284,7 @@ protected: /** * @copydoc CustomActorImpl::OnRelayout */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; private: @@ -322,7 +322,7 @@ private: /** * @copydoc Toolkit::Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * Hit region touch diff --git a/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.h b/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.h index 117d34a..2361955 100644 --- a/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.h +++ b/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.h @@ -117,27 +117,27 @@ private: // from Control /** * @copydoc Toolkit::Control::OnInitialize */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc CustomActorImpl::OnSizeSet() */ - virtual void OnSizeSet(const Vector3& targetSize); + void OnSizeSet(const Vector3& targetSize) override; /** * @copydoc CustomActorImpl::OnSceneConnection() */ - virtual void OnSceneConnection( int depth ); + void OnSceneConnection( int depth ) override; /** * @copydoc CustomActorImpl::OnSceneDisconnection() */ - virtual void OnSceneDisconnection(); + void OnSceneDisconnection() override; /** * @copydoc CustomActorImpl::GetNaturalSize() */ - virtual Vector3 GetNaturalSize(); + Vector3 GetNaturalSize() override; private: diff --git a/dali-toolkit/internal/controls/table-view/table-view-impl.h b/dali-toolkit/internal/controls/table-view/table-view-impl.h index b9b708f..0bd7138 100755 --- a/dali-toolkit/internal/controls/table-view/table-view-impl.h +++ b/dali-toolkit/internal/controls/table-view/table-view-impl.h @@ -217,57 +217,57 @@ private: // From Control /** * @copydoc Control::OnChildAdd(Actor& child) */ - virtual void OnChildAdd( Actor& child ); + void OnChildAdd( Actor& child ) override; /** * @copydoc Control::OnChildRemove(Actor& child) */ - virtual void OnChildRemove( Actor& child ); + void OnChildRemove( Actor& child ) override; /** * @copydoc Control::OnRelayout */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; /** * @copydoc Control::CalculateChildSize */ - virtual float CalculateChildSize( const Actor& child, Dimension::Type dimension ); + float CalculateChildSize( const Actor& child, Dimension::Type dimension ) override; /** * @copydoc Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Control::GetNextKeyboardFocusableActor */ - virtual Actor GetNextKeyboardFocusableActor( Actor currentFocusedActor, Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled ); + Actor GetNextKeyboardFocusableActor( Actor currentFocusedActor, Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled ) override; /** * @copydoc Control::GetNaturalSize() */ - virtual Vector3 GetNaturalSize(); + Vector3 GetNaturalSize() override; /** * @copydoc Control::RelayoutDependentOnChildren() */ - virtual bool RelayoutDependentOnChildren( Dimension::Type dimension = Dimension::ALL_DIMENSIONS ); + bool RelayoutDependentOnChildren( Dimension::Type dimension = Dimension::ALL_DIMENSIONS ) override; /** * @copydoc Control::OnCalculateRelayoutSize */ - virtual void OnCalculateRelayoutSize( Dimension::Type dimension ); + void OnCalculateRelayoutSize( Dimension::Type dimension ) override; /** * @copydoc Control::OnLayoutNegotiated */ - virtual void OnLayoutNegotiated( float size, Dimension::Type dimension ); + void OnLayoutNegotiated( float size, Dimension::Type dimension ) override; /** * @copydoc CustomActorImpl::OnSizeSet( const Vector3& size ) */ - virtual void OnSizeSet( const Vector3& size ); + void OnSizeSet( const Vector3& size ) override; private: // Implementation diff --git a/dali-toolkit/internal/controls/text-controls/text-editor-impl.h b/dali-toolkit/internal/controls/text-controls/text-editor-impl.h index 413c069..d51ba2a 100755 --- a/dali-toolkit/internal/controls/text-controls/text-editor-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-editor-impl.h @@ -116,91 +116,91 @@ private: // From Control /** * @copydoc Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Control::OnStyleChange() */ - virtual void OnStyleChange( Toolkit::StyleManager styleManager, StyleChange::Type change ); + void OnStyleChange( Toolkit::StyleManager styleManager, StyleChange::Type change ) override; /** * @copydoc Control::GetNaturalSize() */ - virtual Vector3 GetNaturalSize(); + Vector3 GetNaturalSize() override; /** * @copydoc Control::GetHeightForWidth() */ - virtual float GetHeightForWidth( float width ); + float GetHeightForWidth( float width ) override; /** * @copydoc Control::OnInitialize() */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; /** * @copydoc Control::OnKeyInputFocusGained() */ - virtual void OnKeyInputFocusGained(); + void OnKeyInputFocusGained() override; /** * @copydoc Control::OnKeyInputFocusLost() */ - virtual void OnKeyInputFocusLost(); + void OnKeyInputFocusLost() override; /** * @copydoc Control::OnTap() */ - virtual void OnTap( const TapGesture& tap ); + void OnTap( const TapGesture& tap ) override; /** * @copydoc Control::OnPan() */ - virtual void OnPan( const PanGesture& gesture ); + void OnPan( const PanGesture& gesture ) override; /** * @copydoc Control::OnLongPress() */ - virtual void OnLongPress( const LongPressGesture& gesture ); + void OnLongPress( const LongPressGesture& gesture ) override; /** * @copydoc Control::OnSceneConnection() */ - virtual void OnSceneConnection( int depth ); + void OnSceneConnection( int depth ) override; /** * @copydoc Dali::CustomActorImpl::OnKeyEvent(const KeyEvent&) */ - virtual bool OnKeyEvent(const KeyEvent& event); + bool OnKeyEvent(const KeyEvent& event) override; // From ControlInterface /** * @copydoc Text::ControlInterface::RequestTextRelayout() */ - virtual void RequestTextRelayout(); + void RequestTextRelayout() override; // From EditableControlInterface /** * @copydoc Text::ControlInterface::TextChanged() */ - virtual void TextChanged(); + void TextChanged() override; /** * @copydoc Text::ControlInterface::MaxLengthReached() */ - virtual void MaxLengthReached(); + void MaxLengthReached() override; /** * @copydoc Text::ControlInterface::InputStyleChanged() */ - virtual void InputStyleChanged( Text::InputStyle::Mask inputStyleMask ); + void InputStyleChanged( Text::InputStyle::Mask inputStyleMask ) override; /** * @copydoc Text::ControlInterface::AddDecoration() */ - virtual void AddDecoration( Actor& actor, bool needsClipping ); + void AddDecoration( Actor& actor, bool needsClipping ) override; private: // Implementation diff --git a/dali-toolkit/internal/controls/text-controls/text-field-impl.h b/dali-toolkit/internal/controls/text-controls/text-field-impl.h index b788d80..f7b6e56 100755 --- a/dali-toolkit/internal/controls/text-controls/text-field-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-field-impl.h @@ -117,91 +117,91 @@ private: // From Control /** * @copydoc Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Control::OnStyleChange() */ - virtual void OnStyleChange( Toolkit::StyleManager styleManager, StyleChange::Type change ); + void OnStyleChange( Toolkit::StyleManager styleManager, StyleChange::Type change ) override; /** * @copydoc Control::GetNaturalSize() */ - virtual Vector3 GetNaturalSize(); + Vector3 GetNaturalSize() override; /** * @copydoc Control::GetHeightForWidth() */ - virtual float GetHeightForWidth( float width ); + float GetHeightForWidth( float width ) override; /** * @copydoc Control::OnInitialize() */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; /** * @copydoc Control::OnKeyInputFocusGained() */ - virtual void OnKeyInputFocusGained(); + void OnKeyInputFocusGained() override; /** * @copydoc Control::OnKeyInputFocusLost() */ - virtual void OnKeyInputFocusLost(); + void OnKeyInputFocusLost() override; /** * @copydoc Control::OnTap() */ - virtual void OnTap( const TapGesture& tap ); + void OnTap( const TapGesture& tap ) override; /** * @copydoc Control::OnPan() */ - virtual void OnPan( const PanGesture& gesture ); + void OnPan( const PanGesture& gesture ) override; /** * @copydoc Control::OnLongPress() */ - virtual void OnLongPress( const LongPressGesture& gesture ); + void OnLongPress( const LongPressGesture& gesture ) override; /** * @copydoc Control::OnSceneConnection() */ - virtual void OnSceneConnection( int depth ); + void OnSceneConnection( int depth ) override; /** * @copydoc Dali::CustomActorImpl::OnKeyEvent(const KeyEvent&) */ - virtual bool OnKeyEvent(const KeyEvent& event); + bool OnKeyEvent(const KeyEvent& event) override; // From ControlInterface /** * @copydoc Text::ControlInterface::RequestTextRelayout() */ - virtual void RequestTextRelayout(); + void RequestTextRelayout() override; // From EditableControlInterface /** * @copydoc Text::ControlInterface::TextChanged() */ - virtual void TextChanged(); + void TextChanged() override; /** * @copydoc Text::ControlInterface::MaxLengthReached() */ - virtual void MaxLengthReached(); + void MaxLengthReached() override; /** * @copydoc Text::ControlInterface::InputStyleChanged() */ - virtual void InputStyleChanged( Text::InputStyle::Mask inputStyleMask ); + void InputStyleChanged( Text::InputStyle::Mask inputStyleMask ) override; /** * @copydoc Text::ControlInterface::AddDecoration() */ - virtual void AddDecoration( Actor& actor, bool needsClipping ); + void AddDecoration( Actor& actor, bool needsClipping ) override; private: // Implementation diff --git a/dali-toolkit/internal/controls/text-controls/text-label-impl.h b/dali-toolkit/internal/controls/text-controls/text-label-impl.h index 17bf6e5..bdbdbbc 100644 --- a/dali-toolkit/internal/controls/text-controls/text-label-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-label-impl.h @@ -78,27 +78,27 @@ private: // From Control /** * @copydoc Control::OnInitialize() */ - virtual void OnInitialize() override ; + void OnInitialize() override; /** * @copydoc Control::OnStyleChange() */ - virtual void OnStyleChange( Toolkit::StyleManager styleManager, StyleChange::Type change ) override ; + void OnStyleChange( Toolkit::StyleManager styleManager, StyleChange::Type change ) override; /** * @copydoc Control::OnRelayout() */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ) override ; + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; /** * @copydoc Control::GetNaturalSize() */ - virtual Vector3 GetNaturalSize() override ; + Vector3 GetNaturalSize() override; /** * @copydoc Control::GetHeightForWidth() */ - virtual float GetHeightForWidth( float width ) override ; + float GetHeightForWidth( float width ) override; /** * @copydoc Control::OnPropertySet() @@ -110,14 +110,14 @@ private: // From Control /** * @copydoc Text::ControlInterface::RequestTextRelayout() */ - virtual void RequestTextRelayout() override ; + void RequestTextRelayout() override; private: // from TextScroller /** * @copydoc Text::ScrollerInterface::ScrollingFinished() */ - virtual void ScrollingFinished(); + void ScrollingFinished() override; private: // Implementation diff --git a/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.h b/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.h index 9625435..09066c0 100644 --- a/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.h @@ -139,7 +139,7 @@ private: // From Control /** * @copydoc Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; private: // Implementation diff --git a/dali-toolkit/internal/controls/text-controls/text-selection-toolbar-impl.h b/dali-toolkit/internal/controls/text-controls/text-selection-toolbar-impl.h index 5b30dcf..5052ded 100644 --- a/dali-toolkit/internal/controls/text-controls/text-selection-toolbar-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-selection-toolbar-impl.h @@ -107,12 +107,12 @@ private: // From Control /** * @copydoc Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Control::OnRelayout() */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; /** * @brief Set max size of Popup diff --git a/dali-toolkit/internal/controls/tool-bar/tool-bar-impl.h b/dali-toolkit/internal/controls/tool-bar/tool-bar-impl.h index 6f8a82b..e5116e8 100644 --- a/dali-toolkit/internal/controls/tool-bar/tool-bar-impl.h +++ b/dali-toolkit/internal/controls/tool-bar/tool-bar-impl.h @@ -66,7 +66,7 @@ private: // From Control /** * @copydoc Toolkit::Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * Adds a control using some default values (the control uses 10% of the tool bar space and is placed on the left group). @@ -74,7 +74,7 @@ private: // From Control * * @see Control::OnChildAdd() */ - virtual void OnChildAdd(Actor& child); + void OnChildAdd(Actor& child) override; private: /** diff --git a/dali-toolkit/internal/controls/video-view/video-view-impl.h b/dali-toolkit/internal/controls/video-view/video-view-impl.h index 7ee0380..d23c622 100755 --- a/dali-toolkit/internal/controls/video-view/video-view-impl.h +++ b/dali-toolkit/internal/controls/video-view/video-view-impl.h @@ -272,37 +272,37 @@ private: // From Control /** * @copydoc Toolkit::Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Toolkit::Control::OnSceneConnection() */ - virtual void OnSceneConnection( int depth ); + void OnSceneConnection( int depth ) override; /** * @copydoc Toolkit::Control::OnSceneDisconnection() */ - virtual void OnSceneDisconnection(); + void OnSceneDisconnection() override; /** * @copydoc Toolkit::Control::OnSizeSet() */ - virtual void OnSizeSet( const Vector3& targetSize ); + void OnSizeSet( const Vector3& targetSize ) override; /** * @copydoc Toolkit::Control::GetNaturalSize */ - virtual Vector3 GetNaturalSize(); + Vector3 GetNaturalSize() override; /** * @copydoc Toolkit::Control::GetHeightForWidth() */ - virtual float GetHeightForWidth( float width ); + float GetHeightForWidth( float width ) override; /** * @copydoc Toolkit::Control::GetWidthForHeight() */ - virtual float GetWidthForHeight( float height ); + float GetWidthForHeight( float height ) override; private: diff --git a/dali-toolkit/internal/controls/web-view/web-view-impl.h b/dali-toolkit/internal/controls/web-view/web-view-impl.h index 11f7e1b..c41be87 100644 --- a/dali-toolkit/internal/controls/web-view/web-view-impl.h +++ b/dali-toolkit/internal/controls/web-view/web-view-impl.h @@ -188,17 +188,17 @@ private: // From Control /** * @copydoc Toolkit::Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Toolkit::Control::GetNaturalSize */ - virtual Vector3 GetNaturalSize(); + Vector3 GetNaturalSize() override; /** * @copydoc Toolkit::Control::OnRelayout() */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; /** * Signal occurs when the Web View has been touched. @@ -211,7 +211,7 @@ private: // From Control /** * @copydoc Toolkit::Control::OnKeyEvent() */ - virtual bool OnKeyEvent( const Dali::KeyEvent& event ); + bool OnKeyEvent( const Dali::KeyEvent& event ) override; private: diff --git a/dali-toolkit/internal/filters/blur-two-pass-filter.h b/dali-toolkit/internal/filters/blur-two-pass-filter.h index 9dd33af..8ff681a 100644 --- a/dali-toolkit/internal/filters/blur-two-pass-filter.h +++ b/dali-toolkit/internal/filters/blur-two-pass-filter.h @@ -52,16 +52,16 @@ public: public: // From ImageFilter /// @copydoc Dali::Toolkit::Internal::ImageFilter::Enable - virtual void Enable(); + void Enable() override; /// @copydoc Dali::Toolkit::Internal::ImageFilter::Disable - virtual void Disable(); + void Disable() override; /// @copydoc Dali::Toolkit::Internal::ImageFilter::Refresh - virtual void Refresh(); + void Refresh() override; /// @copydoc Dali::Toolkit::Internal::ImageFilter::SetSize - virtual void SetSize( const Vector2& size ); + void SetSize( const Vector2& size ) override; /** * Get the property index that controls the strength of the blur applied to the image. Useful for animating this property. diff --git a/dali-toolkit/internal/filters/emboss-filter.h b/dali-toolkit/internal/filters/emboss-filter.h index 2d58538..122c70c 100644 --- a/dali-toolkit/internal/filters/emboss-filter.h +++ b/dali-toolkit/internal/filters/emboss-filter.h @@ -53,16 +53,16 @@ public: public: // From ImageFilter /// @copydoc Dali::Toolkit::Internal::ImageFilter::Enable - virtual void Enable(); + void Enable() override; /// @copydoc Dali::Toolkit::Internal::ImageFilter::Disable - virtual void Disable(); + void Disable() override; /// @copydoc Dali::Toolkit::Internal::ImageFilter::Refresh - virtual void Refresh(); + void Refresh() override; /// @copydoc Dali::Toolkit::Internal::ImageFilter::SetSize - virtual void SetSize( const Vector2& size ); + void SetSize( const Vector2& size ) override; private: /** diff --git a/dali-toolkit/internal/filters/spread-filter.h b/dali-toolkit/internal/filters/spread-filter.h index 83809f1..926c98d 100644 --- a/dali-toolkit/internal/filters/spread-filter.h +++ b/dali-toolkit/internal/filters/spread-filter.h @@ -57,16 +57,16 @@ public: public: // From ImageFilter /// @copydoc Dali::Toolkit::Internal::ImageFilter::Enable - virtual void Enable(); + void Enable() override; /// @copydoc Dali::Toolkit::Internal::ImageFilter::Disable - virtual void Disable(); + void Disable() override; /// @copydoc Dali::Toolkit::Internal::ImageFilter::Refresh - virtual void Refresh(); + void Refresh() override; /// @copydoc Dali::Toolkit::Internal::ImageFilter::SetSize - virtual void SetSize( const Vector2& size ); + void SetSize( const Vector2& size ) override; private: diff --git a/dali-toolkit/internal/image-loader/image-load-thread.h b/dali-toolkit/internal/image-loader/image-load-thread.h index b435611..27c8850 100644 --- a/dali-toolkit/internal/image-loader/image-load-thread.h +++ b/dali-toolkit/internal/image-loader/image-load-thread.h @@ -199,7 +199,7 @@ protected: * The entry function of the worker thread. * It fetches loading task from the loadQueue, loads the image and adds to the completeQueue. */ - virtual void Run(); + void Run() override; private: diff --git a/dali-toolkit/internal/text/rendering/view-model.h b/dali-toolkit/internal/text/rendering/view-model.h index fe77f67..1b81e7a 100755 --- a/dali-toolkit/internal/text/rendering/view-model.h +++ b/dali-toolkit/internal/text/rendering/view-model.h @@ -61,157 +61,157 @@ public: /** * @copydoc ModelInterface::GetControlSize() */ - virtual const Size& GetControlSize() const; + const Size& GetControlSize() const override; /** * @copydoc ModelInterface::GetLayoutSize() */ - virtual const Size& GetLayoutSize() const; + const Size& GetLayoutSize() const override; /** * @copydoc ModelInterface::GetScrollPosition() */ - virtual const Vector2& GetScrollPosition() const; + const Vector2& GetScrollPosition() const override; /** * @copydoc ModelInterface::GetHorizontalAlignment() */ - virtual Text::HorizontalAlignment::Type GetHorizontalAlignment() const; + Text::HorizontalAlignment::Type GetHorizontalAlignment() const override; /** * @copydoc ModelInterface::GetVerticalAlignment() */ - virtual Text::VerticalAlignment::Type GetVerticalAlignment() const; + Text::VerticalAlignment::Type GetVerticalAlignment() const override; /** * @copydoc ModelInterface::GetVerticalLineAlignment() */ - virtual DevelText::VerticalLineAlignment::Type GetVerticalLineAlignment() const; + DevelText::VerticalLineAlignment::Type GetVerticalLineAlignment() const override; /** * @copydoc ModelInterface::IsTextElideEnabled() */ - virtual bool IsTextElideEnabled() const; + bool IsTextElideEnabled() const override; /** * @copydoc ModelInterface::GetNumberOfLines() */ - virtual Length GetNumberOfLines() const; + Length GetNumberOfLines() const override; /** * @copydoc ModelInterface::GetLines() */ - virtual const LineRun* const GetLines() const; + const LineRun* const GetLines() const override; /** * @copydoc ModelInterface::GetNumberOfScripts() */ - virtual Length GetNumberOfScripts() const; + Length GetNumberOfScripts() const override; /** * @copydoc ModelInterface::GetScriptRuns() */ - virtual const ScriptRun* const GetScriptRuns() const; + const ScriptRun* const GetScriptRuns() const override; /** * @copydoc ModelInterface::GetNumberOfGlyphs() */ - virtual Length GetNumberOfGlyphs() const; + Length GetNumberOfGlyphs() const override; /** * @copydoc ModelInterface::GetGlyphs() */ - virtual const GlyphInfo* const GetGlyphs() const; + const GlyphInfo* const GetGlyphs() const override; /** * @copydoc ModelInterface::GetLayout() */ - virtual const Vector2* const GetLayout() const; + const Vector2* const GetLayout() const override; /** * @copydoc ModelInterface::GetColors() */ - virtual const Vector4* const GetColors() const; + const Vector4* const GetColors() const override; /** * @copydoc ModelInterface::GetColorIndices() */ - virtual const ColorIndex* const GetColorIndices() const; + const ColorIndex* const GetColorIndices() const override; /** * @copydoc ModelInterface::GetBackgroundColors() */ - virtual const Vector4* const GetBackgroundColors() const; + const Vector4* const GetBackgroundColors() const override; /** * @copydoc ModelInterface::GetBackgroundColorIndices() */ - virtual const ColorIndex* const GetBackgroundColorIndices() const; + const ColorIndex* const GetBackgroundColorIndices() const override; /** * @copydoc ModelInterface::GetDefaultColor() */ - virtual const Vector4& GetDefaultColor() const; + const Vector4& GetDefaultColor() const override; /** * @copydoc ModelInterface::GetShadowOffset() */ - virtual const Vector2& GetShadowOffset() const; + const Vector2& GetShadowOffset() const override; /** * @copydoc ModelInterface::GetShadowColor() */ - virtual const Vector4& GetShadowColor() const; + const Vector4& GetShadowColor() const override; /** * @copydoc ModelInterface::GetShadowBlurRadius() */ - virtual const float& GetShadowBlurRadius() const; + const float& GetShadowBlurRadius() const override; /** * @copydoc ModelInterface::GetUnderlineColor() */ - virtual const Vector4& GetUnderlineColor() const; + const Vector4& GetUnderlineColor() const override; /** * @copydoc ModelInterface::IsUnderlineEnabled() */ - virtual bool IsUnderlineEnabled() const; + bool IsUnderlineEnabled() const override; /** * @copydoc ModelInterface::GetUnderlineHeight() */ - virtual float GetUnderlineHeight() const; + float GetUnderlineHeight() const override; /** * @copydoc ModelInterface::GetNumberOfUnderlineRuns() */ - virtual Length GetNumberOfUnderlineRuns() const; + Length GetNumberOfUnderlineRuns() const override; /** * @copydoc ModelInterface::GetUnderlineRuns() */ - virtual void GetUnderlineRuns( GlyphRun* underlineRuns, UnderlineRunIndex index, Length numberOfRuns ) const; + void GetUnderlineRuns( GlyphRun* underlineRuns, UnderlineRunIndex index, Length numberOfRuns ) const override; /** * @copydoc ModelInterface::GetOutlineColor() */ - virtual const Vector4& GetOutlineColor() const; + const Vector4& GetOutlineColor() const override; /** * @copydoc ModelInterface::GetOutlineWidth() */ - virtual uint16_t GetOutlineWidth() const; + uint16_t GetOutlineWidth() const override; /** * @copydoc ModelInterface::GetBackgroundColor() */ - virtual const Vector4& GetBackgroundColor() const; + const Vector4& GetBackgroundColor() const override; /** * @copydoc ModelInterface::IsBackgroundEnabled() */ - virtual bool IsBackgroundEnabled() const; + bool IsBackgroundEnabled() const override; /** * @brief Does the text elide. diff --git a/dali-toolkit/internal/text/text-controller.h b/dali-toolkit/internal/text/text-controller.h index ad91be0..4d40f41 100755 --- a/dali-toolkit/internal/text/text-controller.h +++ b/dali-toolkit/internal/text/text-controller.h @@ -1532,31 +1532,31 @@ protected: // Inherit from Text::Decorator::ControllerInterface. /** * @copydoc Dali::Toolkit::Text::Decorator::ControllerInterface::GetTargetSize() */ - virtual void GetTargetSize( Vector2& targetSize ); + void GetTargetSize( Vector2& targetSize ) override; /** * @copydoc Dali::Toolkit::Text::Decorator::ControllerInterface::AddDecoration() */ - virtual void AddDecoration( Actor& actor, bool needsClipping ); + void AddDecoration( Actor& actor, bool needsClipping ) override; /** * @copydoc Dali::Toolkit::Text::Decorator::ControllerInterface::DecorationEvent() */ - virtual void DecorationEvent( HandleType handle, HandleState state, float x, float y ); + void DecorationEvent( HandleType handle, HandleState state, float x, float y ) override; protected: // Inherit from TextSelectionPopup::TextPopupButtonCallbackInterface. /** * @copydoc Dali::Toolkit::TextSelectionPopup::TextPopupButtonCallbackInterface::TextPopupButtonTouched() */ - virtual void TextPopupButtonTouched( Dali::Toolkit::TextSelectionPopup::Buttons button ); + void TextPopupButtonTouched( Dali::Toolkit::TextSelectionPopup::Buttons button ) override; protected: // Inherit from HiddenText. /** * @brief Invoked from HiddenText when showing time of the last character was expired */ - virtual void DisplayTimeExpired(); + void DisplayTimeExpired() override; private: // Update. diff --git a/dali-toolkit/internal/text/text-model.h b/dali-toolkit/internal/text/text-model.h index 5edb294..219aae8 100755 --- a/dali-toolkit/internal/text/text-model.h +++ b/dali-toolkit/internal/text/text-model.h @@ -61,157 +61,157 @@ public: /** * @copydoc ModelInterface::GetControlSize() */ - virtual const Size& GetControlSize() const override; + const Size& GetControlSize() const override; /** * @copydoc ModelInterface::GetLayoutSize() */ - virtual const Size& GetLayoutSize() const override; + const Size& GetLayoutSize() const override; /** * @copydoc ModelInterface::GetScrollPosition() */ - virtual const Vector2& GetScrollPosition() const override; + const Vector2& GetScrollPosition() const override; /** * @copydoc ModelInterface::GetHorizontalAlignment() */ - virtual HorizontalAlignment::Type GetHorizontalAlignment() const override; + HorizontalAlignment::Type GetHorizontalAlignment() const override; /** * @copydoc ModelInterface::GetVerticalAlignment() */ - virtual VerticalAlignment::Type GetVerticalAlignment() const override; + VerticalAlignment::Type GetVerticalAlignment() const override; /** * @copydoc ModelInterface::GetVerticalLineAlignment() */ - virtual DevelText::VerticalLineAlignment::Type GetVerticalLineAlignment() const override; + DevelText::VerticalLineAlignment::Type GetVerticalLineAlignment() const override; /** * @copydoc ModelInterface::IsTextElideEnabled() */ - virtual bool IsTextElideEnabled() const override; + bool IsTextElideEnabled() const override; /** * @copydoc ModelInterface::GetNumberOfLines() */ - virtual Length GetNumberOfLines() const override; + Length GetNumberOfLines() const override; /** * @copydoc ModelInterface::GetLines() */ - virtual const LineRun* const GetLines() const override; + const LineRun* const GetLines() const override; /** * @copydoc ModelInterface::GetNumberOfScripts() */ - virtual Length GetNumberOfScripts() const override; + Length GetNumberOfScripts() const override; /** * @copydoc ModelInterface::GetScriptRuns() */ - virtual const ScriptRun* const GetScriptRuns() const override; + const ScriptRun* const GetScriptRuns() const override; /** * @copydoc ModelInterface::GetNumberOfGlyphs() */ - virtual Length GetNumberOfGlyphs() const override; + Length GetNumberOfGlyphs() const override; /** * @copydoc ModelInterface::GetGlyphs() */ - virtual const GlyphInfo* const GetGlyphs() const override; + const GlyphInfo* const GetGlyphs() const override; /** * @copydoc ModelInterface::GetLayout() */ - virtual const Vector2* const GetLayout() const override; + const Vector2* const GetLayout() const override; /** * @copydoc ModelInterface::GetColors() */ - virtual const Vector4* const GetColors() const override; + const Vector4* const GetColors() const override; /** * @copydoc ModelInterface::GetColorIndices() */ - virtual const ColorIndex* const GetColorIndices() const override; + const ColorIndex* const GetColorIndices() const override; /** * @copydoc ModelInterface::GetBackgroundColors() */ - virtual const Vector4* const GetBackgroundColors() const override; + const Vector4* const GetBackgroundColors() const override; /** * @copydoc ModelInterface::GetBackgroundColorIndices() */ - virtual const ColorIndex* const GetBackgroundColorIndices() const override; + const ColorIndex* const GetBackgroundColorIndices() const override; /** * @copydoc ModelInterface::GetDefaultColor() */ - virtual const Vector4& GetDefaultColor() const override; + const Vector4& GetDefaultColor() const override; /** * @copydoc ModelInterface::GetShadowOffset() */ - virtual const Vector2& GetShadowOffset() const override; + const Vector2& GetShadowOffset() const override; /** * @copydoc ModelInterface::GetShadowColor() */ - virtual const Vector4& GetShadowColor() const override; + const Vector4& GetShadowColor() const override; /** * @copydoc ModelInterface::GetShadowBlurRadius() */ - virtual const float& GetShadowBlurRadius() const override; + const float& GetShadowBlurRadius() const override; /** * @copydoc ModelInterface::GetUnderlineColor() */ - virtual const Vector4& GetUnderlineColor() const override; + const Vector4& GetUnderlineColor() const override; /** * @copydoc ModelInterface::IsUnderlineEnabled() */ - virtual bool IsUnderlineEnabled() const override; + bool IsUnderlineEnabled() const override; /** * @copydoc ModelInterface::GetUnderlineHeight() */ - virtual float GetUnderlineHeight() const override; + float GetUnderlineHeight() const override; /** * @copydoc ModelInterface::GetNumberOfUnderlineRuns() */ - virtual Length GetNumberOfUnderlineRuns() const override; + Length GetNumberOfUnderlineRuns() const override; /** * @copydoc ModelInterface::GetUnderlineRuns() */ - virtual void GetUnderlineRuns( GlyphRun* underlineRuns, UnderlineRunIndex index, Length numberOfRuns ) const override; + void GetUnderlineRuns( GlyphRun* underlineRuns, UnderlineRunIndex index, Length numberOfRuns ) const override; /** * @copydoc ModelInterface::GetOutlineColor() */ - virtual const Vector4& GetOutlineColor() const override; + const Vector4& GetOutlineColor() const override; /** * @copydoc ModelInterface::GetOutlineWidth() */ - virtual uint16_t GetOutlineWidth() const override; + uint16_t GetOutlineWidth() const override; /** * @copydoc ModelInterface::GetBackgroundColor() */ - virtual const Vector4& GetBackgroundColor() const override; + const Vector4& GetBackgroundColor() const override; /** * @copydoc ModelInterface::IsBackgroundEnabled() */ - virtual bool IsBackgroundEnabled() const override; + bool IsBackgroundEnabled() const override; private: // Private contructors & copy operator. diff --git a/dali-toolkit/internal/text/text-view.h b/dali-toolkit/internal/text/text-view.h index 91b7867..e600940 100755 --- a/dali-toolkit/internal/text/text-view.h +++ b/dali-toolkit/internal/text/text-view.h @@ -58,17 +58,17 @@ public: /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetControlSize() */ - virtual const Vector2& GetControlSize() const; + const Vector2& GetControlSize() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetLayoutSize() */ - virtual const Vector2& GetLayoutSize() const; + const Vector2& GetLayoutSize() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetNumberOfGlyphs() */ - virtual Length GetNumberOfGlyphs() const; + Length GetNumberOfGlyphs() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetGlyphs() @@ -82,57 +82,57 @@ public: /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetColors() */ - virtual const Vector4* const GetColors() const; + const Vector4* const GetColors() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetColorIndices() */ - virtual const ColorIndex* const GetColorIndices() const; + const ColorIndex* const GetColorIndices() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetBackgroundColors() */ - virtual const Vector4* const GetBackgroundColors() const; + const Vector4* const GetBackgroundColors() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetBackgroundColorIndices() */ - virtual const ColorIndex* const GetBackgroundColorIndices() const; + const ColorIndex* const GetBackgroundColorIndices() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetTextColor() */ - virtual const Vector4& GetTextColor() const; + const Vector4& GetTextColor() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetShadowOffset() */ - virtual const Vector2& GetShadowOffset() const; + const Vector2& GetShadowOffset() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetShadowColor() */ - virtual const Vector4& GetShadowColor() const; + const Vector4& GetShadowColor() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetUnderlineColor() */ - virtual const Vector4& GetUnderlineColor() const; + const Vector4& GetUnderlineColor() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::IsUnderlineEnabled() */ - virtual bool IsUnderlineEnabled() const; + bool IsUnderlineEnabled() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetUnderlineHeight() */ - virtual float GetUnderlineHeight() const; + float GetUnderlineHeight() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetNumberOfUnderlineRuns() */ - virtual Length GetNumberOfUnderlineRuns() const; + Length GetNumberOfUnderlineRuns() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetUnderlineRuns() @@ -144,12 +144,12 @@ public: /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetOutlineColor() */ - virtual const Vector4& GetOutlineColor() const; + const Vector4& GetOutlineColor() const override; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetOutlineWidth() */ - virtual uint16_t GetOutlineWidth() const; + uint16_t GetOutlineWidth() const override; private: diff --git a/dali-toolkit/internal/transition-effects/cube-transition-cross-effect-impl.h b/dali-toolkit/internal/transition-effects/cube-transition-cross-effect-impl.h index d9ce90f..9d6c2d1 100644 --- a/dali-toolkit/internal/transition-effects/cube-transition-cross-effect-impl.h +++ b/dali-toolkit/internal/transition-effects/cube-transition-cross-effect-impl.h @@ -52,12 +52,12 @@ protected: /** * @copydoc Toolkit::Internal::CubeTransitionEffect::OnInitialize */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Toolkit::Internal::CubeTransitionEffect::OnStartTransition */ - virtual void OnStartTransition( Vector2 panPosition, Vector2 panDisplacement ); + void OnStartTransition( Vector2 panPosition, Vector2 panDisplacement ) override; private: diff --git a/dali-toolkit/internal/transition-effects/cube-transition-effect-impl.h b/dali-toolkit/internal/transition-effects/cube-transition-effect-impl.h index d3e9673..65e294f 100644 --- a/dali-toolkit/internal/transition-effects/cube-transition-effect-impl.h +++ b/dali-toolkit/internal/transition-effects/cube-transition-effect-impl.h @@ -132,12 +132,12 @@ protected: /** * @copydoc CustomActorImpl::OnSceneConnection() */ - virtual void OnSceneConnection( int depth ); + void OnSceneConnection( int depth ) override; /** * @copydoc CustomActorImpl::OnSceneDisconnection() */ - virtual void OnSceneDisconnection(); + void OnSceneDisconnection() override; protected: @@ -192,7 +192,7 @@ private: */ virtual void OnStopTransition() {} - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; void ResetToInitialState(); diff --git a/dali-toolkit/internal/transition-effects/cube-transition-fold-effect-impl.h b/dali-toolkit/internal/transition-effects/cube-transition-fold-effect-impl.h index 40f28bf..307ecfa 100644 --- a/dali-toolkit/internal/transition-effects/cube-transition-fold-effect-impl.h +++ b/dali-toolkit/internal/transition-effects/cube-transition-fold-effect-impl.h @@ -52,12 +52,12 @@ protected: /** * @copydoc Toolkit::CubeTransitionEffect::OnInitialize */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Toolkit::CubeTransitionEffect::OnStartTransition */ - virtual void OnStartTransition( Vector2 panPosition, Vector2 panDisplacement ); + void OnStartTransition( Vector2 panPosition, Vector2 panDisplacement ) override; private: diff --git a/dali-toolkit/internal/transition-effects/cube-transition-wave-effect-impl.h b/dali-toolkit/internal/transition-effects/cube-transition-wave-effect-impl.h index ff968d3..e640fbd 100644 --- a/dali-toolkit/internal/transition-effects/cube-transition-wave-effect-impl.h +++ b/dali-toolkit/internal/transition-effects/cube-transition-wave-effect-impl.h @@ -52,12 +52,12 @@ protected: /** * @copydoc Toolkit::Internal::CubeTransitionEffect::OnInitialize */ - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Toolkit::Internal::CubeTransitionEffect::OnStartTransition */ - virtual void OnStartTransition( Vector2 panPosition, Vector2 panDisplacement ); + void OnStartTransition( Vector2 panPosition, Vector2 panDisplacement ) override; private: diff --git a/dali-toolkit/public-api/controls/control-impl.h b/dali-toolkit/public-api/controls/control-impl.h index 74117e9..40be6e9 100644 --- a/dali-toolkit/public-api/controls/control-impl.h +++ b/dali-toolkit/public-api/controls/control-impl.h @@ -300,25 +300,25 @@ protected: // From CustomActorImpl * @copydoc CustomActorImpl::OnSceneConnection() * @note If overridden, then an up-call to Control::OnSceneConnection MUST be made at the end. */ - virtual void OnSceneConnection( int depth ) override; + void OnSceneConnection( int depth ) override; /** * @copydoc CustomActorImpl::OnSceneDisconnection() * @note If overridden, then an up-call to Control::OnSceneDisconnection MUST be made at the end. */ - virtual void OnSceneDisconnection() override; + void OnSceneDisconnection() override; /** * @copydoc CustomActorImpl::OnChildAdd() * @note If overridden, then an up-call to Control::OnChildAdd MUST be made at the end. */ - virtual void OnChildAdd( Actor& child ) override; + void OnChildAdd( Actor& child ) override; /** * @copydoc CustomActorImpl::OnChildRemove() * @note If overridden, then an up-call to Control::OnChildRemove MUST be made at the end. */ - virtual void OnChildRemove( Actor& child ) override; + void OnChildRemove( Actor& child ) override; /** * @copydoc CustomActorImpl::OnPropertySet() @@ -330,58 +330,58 @@ protected: // From CustomActorImpl * @copydoc CustomActorImpl::OnSizeSet() * @note If overridden, then an up-call to Control::OnSizeSet MUST be made at the end. */ - virtual void OnSizeSet( const Vector3& targetSize ) override; + void OnSizeSet( const Vector3& targetSize ) override; /** * @copydoc CustomActorImpl::OnSizeAnimation() * @note If overridden, then an up-call to Control::OnSizeAnimation MUST be made at the end. */ - virtual void OnSizeAnimation( Animation& animation, const Vector3& targetSize ) override; + void OnSizeAnimation( Animation& animation, const Vector3& targetSize ) override; /** * @copydoc CustomActorImpl::OnRelayout() */ - virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; + void OnRelayout( const Vector2& size, RelayoutContainer& container ) override; /** * @copydoc CustomActorImpl::OnSetResizePolicy() */ - virtual void OnSetResizePolicy( ResizePolicy::Type policy, Dimension::Type dimension ) override; + void OnSetResizePolicy( ResizePolicy::Type policy, Dimension::Type dimension ) override; /** * @copydoc CustomActorImpl::GetNaturalSize() */ - virtual Vector3 GetNaturalSize() override; + Vector3 GetNaturalSize() override; /** * @copydoc CustomActorImpl::CalculateChildSize() */ - virtual float CalculateChildSize( const Dali::Actor& child, Dimension::Type dimension ) override; + float CalculateChildSize( const Dali::Actor& child, Dimension::Type dimension ) override; /** * @copydoc CustomActorImpl::GetHeightForWidth() */ - virtual float GetHeightForWidth( float width ) override; + float GetHeightForWidth( float width ) override; /** * @copydoc CustomActorImpl::GetWidthForHeight() */ - virtual float GetWidthForHeight( float height ) override; + float GetWidthForHeight( float height ) override; /** * @copydoc CustomActorImpl::RelayoutDependentOnChildren() */ - virtual bool RelayoutDependentOnChildren( Dimension::Type dimension = Dimension::ALL_DIMENSIONS ) override; + bool RelayoutDependentOnChildren( Dimension::Type dimension = Dimension::ALL_DIMENSIONS ) override; /** * @copydoc CustomActorImpl::OnCalculateRelayoutSize() */ - virtual void OnCalculateRelayoutSize( Dimension::Type dimension ) override; + void OnCalculateRelayoutSize( Dimension::Type dimension ) override; /** * @copydoc CustomActorImpl::OnLayoutNegotiated() */ - virtual void OnLayoutNegotiated( float size, Dimension::Type dimension ) override; + void OnLayoutNegotiated( float size, Dimension::Type dimension ) override; protected: // Helpers for deriving classes @@ -604,12 +604,12 @@ public: // API for derived classes to override /** * @copydoc ConnectionTrackerInterface::SignalConnected */ - virtual void SignalConnected( SlotObserver* slotObserver, CallbackBase* callback ) override; + void SignalConnected( SlotObserver* slotObserver, CallbackBase* callback ) override; /** * @copydoc ConnectionTrackerInterface::SignalDisconnected */ - virtual void SignalDisconnected( SlotObserver* slotObserver, CallbackBase* callback ) override; + void SignalDisconnected( SlotObserver* slotObserver, CallbackBase* callback ) override; /** * @brief Retrieves the extension for this control. diff --git a/dali-toolkit/public-api/controls/scrollable/scroll-view/scroll-view.h b/dali-toolkit/public-api/controls/scrollable/scroll-view/scroll-view.h index 417a8f5..daae4a3 100755 --- a/dali-toolkit/public-api/controls/scrollable/scroll-view/scroll-view.h +++ b/dali-toolkit/public-api/controls/scrollable/scroll-view/scroll-view.h @@ -384,22 +384,22 @@ public: /** * @copydoc Toolkit::Ruler::Snap */ - virtual float Snap(float x, float bias) const; + float Snap(float x, float bias) const override; /** * @copydoc Toolkit::Ruler::GetPositionFromPage */ - virtual float GetPositionFromPage(unsigned int page, unsigned int &volume, bool wrap) const; + float GetPositionFromPage(unsigned int page, unsigned int &volume, bool wrap) const override; /** * @copydoc Toolkit::Ruler::GetPageFromPosition */ - virtual unsigned int GetPageFromPosition(float position, bool wrap) const; + unsigned int GetPageFromPosition(float position, bool wrap) const override; /** * @copydoc Toolkit::Ruler::GetTotalPages */ - virtual unsigned int GetTotalPages() const; + unsigned int GetTotalPages() const override; }; /** @@ -420,22 +420,22 @@ public: /** * @copydoc Toolkit::Ruler::Snap */ - virtual float Snap(float x, float bias) const; + float Snap(float x, float bias) const override; /** * @copydoc Toolkit::Ruler::GetPositionFromPage */ - virtual float GetPositionFromPage(unsigned int page, unsigned int &volume, bool wrap) const; + float GetPositionFromPage(unsigned int page, unsigned int &volume, bool wrap) const override; /** * @copydoc Toolkit::Ruler::GetPageFromPosition */ - virtual unsigned int GetPageFromPosition(float position, bool wrap) const; + unsigned int GetPageFromPosition(float position, bool wrap) const override; /** * @copydoc Toolkit::Ruler::GetTotalPages */ - virtual unsigned int GetTotalPages() const; + unsigned int GetTotalPages() const override; private: float mSpacing; ///< The spacing between each interval