1 #ifndef DALI_TOOLKIT_CONTROL_DEVEL_H
2 #define DALI_TOOLKIT_CONTROL_DEVEL_H
5 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 #include <dali-toolkit/public-api/controls/control.h>
30 namespace DevelControl
38 STYLE_NAME = Control::Property::STYLE_NAME,
39 BACKGROUND_COLOR = Control::Property::BACKGROUND_COLOR,
40 BACKGROUND_IMAGE = Control::Property::BACKGROUND_IMAGE,
41 KEY_INPUT_FOCUS = Control::Property::KEY_INPUT_FOCUS,
42 BACKGROUND = Control::Property::BACKGROUND,
45 * @brief Displays a tooltip when the control is hovered over.
46 * @details Name "tooltip", type Property::STRING, Property::ARRAY or Property::MAP.
47 * If Property::STRING, then the style specified in the stylesheet is used.
48 * If Property::ARRAY of Visuals then all are displayed in one row.
49 * If Property::MAP, then it should be a map of Tooltip properties.
50 * @note The tooltip is only activated if display content is received, i.e. a string (text) or visual to show.
51 * The rest is used to just build up the style of the tooltip (i.e. background, text color/point-size etc.)
52 * @note When retrieved, a Property::MAP is returned.
53 * @see Toolkit::Tooltip
55 TOOLTIP = BACKGROUND + 1,
58 } // namespace Property
60 } // namespace DevelControl
62 } // namespace Toolkit
66 #endif // DALI_TOOLKIT_CONTROL_DEVEL_H