X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fcontrol.h;h=c6e3b1d7de812981a943254d72769763b4fbbc34;hb=306ab4095235efd0289e9da4e3994f456cbda2aa;hp=a52b46785ada2d366024203d704fd58c9a276f55;hpb=c7db41e73819a6e2b79948bd7396d948ac57a96f;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/controls/control.h b/dali-toolkit/public-api/controls/control.h index a52b467..c6e3b1d 100644 --- a/dali-toolkit/public-api/controls/control.h +++ b/dali-toolkit/public-api/controls/control.h @@ -2,7 +2,7 @@ #define __DALI_TOOLKIT_CONTROL_H__ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 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. @@ -89,6 +89,10 @@ public: */ struct Property { + /** + * @brief An enumeration of properties belonging to the Control class. + * @SINCE_1_0.0 + */ enum { /** @@ -117,7 +121,7 @@ public: */ KEY_INPUT_FOCUS, /** - * @brief name "background", mutually exclusive with BACKGROUND_COLOR & BACKGROUND_IMAGE, type Map + * @brief name "background", mutually exclusive with BACKGROUND_COLOR & BACKGROUND_IMAGE, type Map or std::string for URL * @SINCE_1_1.3 */ BACKGROUND, @@ -130,12 +134,18 @@ public: */ struct KeyboardFocus { + /** + * @brief Keyboard focus direction + * @SINCE_1_0.0 + */ enum Direction { LEFT, ///< Move keyboard focus towards the left direction @SINCE_1_0.0 RIGHT, ///< Move keyboard focus towards the right direction @SINCE_1_0.0 UP, ///< Move keyboard focus towards the up direction @SINCE_1_0.0 - DOWN ///< Move keyboard focus towards the down direction @SINCE_1_0.0 + DOWN, ///< Move keyboard focus towards the down direction @SINCE_1_0.0 + PAGE_UP, ///< Move keyboard focus towards the previous page direction @SINCE_1_2.14 + PAGE_DOWN ///< Move keyboard focus towards the next page direction @SINCE_1_2.14 }; }; @@ -322,17 +332,17 @@ public: * @SINCE_1_0.0 * @return The background color of the control. */ - Vector4 GetBackgroundColor() const; + Vector4 GetBackgroundColor() const DALI_DEPRECATED_API; /** - * @DEPRECATED_1_2.7, use Property::BACKGROUND instead + * @DEPRECATED_1_2_8, use Property::BACKGROUND instead * * @brief Sets an image as the background of the control. * * @SINCE_1_0.0 * @param[in] image The image to set as the background. */ - void SetBackgroundImage( Image image ); + void SetBackgroundImage( Image image ) DALI_DEPRECATED_API; /** * @brief Clears the background.