1 #ifndef DALI_TOOLKIT_SCROLL_BAR_DEVEL_H
2 #define DALI_TOOLKIT_SCROLL_BAR_DEVEL_H
5 * Copyright (c) 2017 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/scroll-bar/scroll-bar.h>
30 namespace DevelScrollBar
37 * @brief ScrollBar is a UI component that can be linked to the scrollable objects
38 * indicating the current scroll position of the scrollable object.
41 * | %Action Name | Attributes | Description |
42 * |------------------------|-------------------------|-------------------------------------------|
43 * | ShowIndicator | Doesn't have attributes | Shows the scroll-indicator |
44 * | HideIndicator | Doesn't have attributes | Hides the scroll-indicator |
45 * | ShowTransientIndicator | Doesn't have attributes | Shows the scroll-indicator for short time |
49 * @brief Enumeration for the instance of properties belonging to the ScrollBar class.
53 SCROLL_DIRECTION = Dali::Toolkit::ScrollBar::Property::SCROLL_DIRECTION,
54 INDICATOR_HEIGHT_POLICY = Dali::Toolkit::ScrollBar::Property::INDICATOR_HEIGHT_POLICY,
55 INDICATOR_FIXED_HEIGHT = Dali::Toolkit::ScrollBar::Property::INDICATOR_FIXED_HEIGHT,
56 INDICATOR_SHOW_DURATION = Dali::Toolkit::ScrollBar::Property::INDICATOR_SHOW_DURATION,
57 INDICATOR_HIDE_DURATION = Dali::Toolkit::ScrollBar::Property::INDICATOR_HIDE_DURATION,
58 SCROLL_POSITION_INTERVALS = Dali::Toolkit::ScrollBar::Property::SCROLL_POSITION_INTERVALS,
59 INDICATOR_MINIMUM_HEIGHT = Dali::Toolkit::ScrollBar::Property::INDICATOR_MINIMUM_HEIGHT,
60 INDICATOR_START_PADDING = Dali::Toolkit::ScrollBar::Property::INDICATOR_START_PADDING,
61 INDICATOR_END_PADDING = Dali::Toolkit::ScrollBar::Property::INDICATOR_END_PADDING,
64 * @brief The duration that transient indicators will remain fully visible.
65 * @details name "indicatorTransientDuration", type float.
67 INDICATOR_TRANSIENT_DURATION = INDICATOR_END_PADDING + 1
70 } // namespace Property
72 } // namespace DevelScrollBar
74 } // namespace Toolkit
78 #endif // DALI_TOOLKIT_SCROLL_BAR_DEVEL_H