/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 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.
ImageView ImageView::New( Image image )
{
- DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: New() is deprecated and will be removed from next release. use New( const std::string& ) instead.\n" );
+ DALI_LOG_WARNING("DEPRECATION WARNING: New( Image ) is due to be deprecated in the next release. If simply loading from a URL, then use New( const std::string& ) instead.\n" );
ImageView imageView = Internal::ImageView::New();
imageView.SetImage( image );
void ImageView::SetImage( Image image )
{
- DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: SetImage() is deprecated and will be removed from next release. Use SetImage( const std::string& ) instead.\n" );
+ DALI_LOG_WARNING("DEPRECATION WARNING: SetImage( Image ) is due to be deprecated in the next release. If simply loading from a URL, then use SetImage( const std::string& ) instead.\n" );
Dali::Toolkit::GetImpl( *this ).SetImage( image );
}
Image ImageView::GetImage() const
{
- DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: GetImage() is deprecated and will be removed from next release.\n" );
+ DALI_LOG_WARNING("DEPRECATION WARNING: GetImage() is due to be deprecated in the next release.\n" );
return Dali::Toolkit::GetImpl( *this ).GetImage();
}
#define __DALI_TOOLKIT_IMAGE_VIEW_H__
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 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.
static ImageView New();
/**
- * @DEPRECATED_1_2_8, use New( const std::string& ) instead.
- *
* @brief Create an initialized ImageView from an Image instance.
*
* If the handle is empty, ImageView will not display anything.
* @param[in] image The Image instance to display.
* @return A handle to a newly allocated ImageView.
*/
- static ImageView New( Image image ) DALI_DEPRECATED_API;
+ static ImageView New( Image image );
/**
* @brief Create an initialized ImageView from an URL to an image resource.
static ImageView DownCast( BaseHandle handle );
/**
- * @DEPRECATED_1_2_8, use SetImage( const std::string& ) instead.
- *
* @brief Sets this ImageView from an Image instance.
*
* If the handle is empty, ImageView will display nothing
* @SINCE_1_0.0
* @param[in] image The Image instance to display.
*/
- void SetImage( Image image ) DALI_DEPRECATED_API;
+ void SetImage( Image image );
/**
* @brief Sets this ImageView from the given URL.
void SetImage( const std::string& url, ImageDimensions size );
/**
- * @DEPRECATED_1_1.4
* @brief Gets the Image instance handle used by the ImageView.
*
* A valid handle will be returned only if this instance was created with New(Image) or SetImage(Image) was called.
* @SINCE_1_0.0
* @return The Image instance currently used by the ImageView.
*/
- Image GetImage() const DALI_DEPRECATED_API;
+ Image GetImage() const;
public: // Not intended for application developers