#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.
*
*/
+// EXTERNAL INCLUDES
+#include <dali/public-api/actors/layer.h>
+
namespace Dali
{
namespace Toolkit
{
-enum ControlDepthIndexRanges
+/**
+ * @addtogroup dali_toolkit_controls
+ * @{
+ */
+
+/**
+ * @deprecated DALi 1.1.16
+ *
+ * @brief These depth indices should not be used.
+ */
+enum DepthIndexRanges
{
- BACKGROUND_DEPTH_INDEX = -10000000,
- CONTENT_DEPTH_INDEX = 0,
- DECORATION_DEPTH_INDEX = 10000000
+ BACKGROUND_DEPTH_INDEX = static_cast<int>( -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<int>( Dali::Layer::TREE_DEPTH_MULTIPLIER * 0.1f ) ///< @deprecated DALi 1.1.16
};
+/**
+ * @}
+ */
}
}
-
#endif