X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fimage-view%2Fimage-view-impl.h;h=2881175f7192691a869bb6c8b6f1dafedf2f68f2;hb=831928584e87195281be93749c376498fe223030;hp=382feb8734f25185e6877c96411bebf1b87fa568;hpb=7cfada64ad44d4a47785d49993b298f1c2dbd4a0;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git 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 382feb8..2881175 100644 --- a/dali-toolkit/internal/controls/image-view/image-view-impl.h +++ b/dali-toolkit/internal/controls/image-view/image-view-impl.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_IMAGE_VIEW_H /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -58,11 +58,6 @@ public: static Toolkit::ImageView New(); /** - * @copydoc Dali::Toolkit::SetImage - */ - void SetImage( Image image ); - - /** * @brief Sets this ImageView from an Dali::Property::Map * * If the handle is empty, ImageView will display nothing @@ -76,11 +71,6 @@ public: void SetImage( const std::string& imageUrl, ImageDimensions size ); /** - * @copydoc Dali::Toolkit::GetImage - */ - Image GetImage() const; - - /** * @brief Set whether the Pre-multiplied Alpha Blending is required * * @param[in] preMultipled whether alpha is pre-multiplied. @@ -130,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: @@ -184,7 +174,6 @@ private: Toolkit::Visual::Base mVisual; std::string mUrl; ///< the url for the image if the image came from a URL, empty otherwise - Image mImage; ///< the Image if the image came from a Image, null otherwise Property::Map mPropertyMap; ///< the Property::Map if the image came from a Property::Map, empty otherwise Property::Map mShaderMap; ///< the Property::Map if the custom shader is set, empty otherwise ImageDimensions mImageSize; ///< the image size