X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fcontrol-depth-index-ranges.h;h=d0f4187e897db828c67589863ab66302334a714d;hp=95e8624cdfecb996749f8c272ff2d6240854a292;hb=ae4ebe4de0eaea7942295160d310b9818969b3e7;hpb=60a37a9097c913d576b319423097cfb7c2f2a96b diff --git a/dali-toolkit/public-api/controls/control-depth-index-ranges.h b/dali-toolkit/public-api/controls/control-depth-index-ranges.h index 95e8624..d0f4187 100644 --- a/dali-toolkit/public-api/controls/control-depth-index-ranges.h +++ b/dali-toolkit/public-api/controls/control-depth-index-ranges.h @@ -2,7 +2,7 @@ #define __DALI_TOOLKIT_CONTROL_DEPTH_INDEX_RANGES_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. @@ -18,7 +18,9 @@ * */ +// EXTERNAL INCLUDES #include + namespace Dali { namespace Toolkit @@ -28,12 +30,16 @@ namespace Toolkit * @{ */ -enum ControlDepthIndexRanges +/** + * @deprecated DALi 1.1.16 + * + * @brief These depth indices should not be used. + */ +enum DepthIndexRanges { - BACKGROUND_DEPTH_INDEX = -Dali::Layer::TREE_DEPTH_MULTIPLIER / 10, - CONTENT_DEPTH_INDEX = 0, - TEXT_DEPTH_INDEX = Dali::Layer::TREE_DEPTH_MULTIPLIER / 100, - DECORATION_DEPTH_INDEX = Dali::Layer::TREE_DEPTH_MULTIPLIER / 10 + BACKGROUND_DEPTH_INDEX = static_cast( -Dali::Layer::TREE_DEPTH_MULTIPLIER * 0.1f ), ///< @deprecated DALi 1.1.16 + CONTENT_DEPTH_INDEX = 0, ///< @deprecated DALi 1.1.16 + DECORATION_DEPTH_INDEX = static_cast( Dali::Layer::TREE_DEPTH_MULTIPLIER * 0.1f ) ///< @deprecated DALi 1.1.16 }; /** @@ -43,5 +49,4 @@ enum ControlDepthIndexRanges } - #endif