1 #ifndef DALI_TOOLKIT_DEVEL_API_SCROLL_VIEW_SCROLL_MODE_H
2 #define DALI_TOOLKIT_DEVEL_API_SCROLL_VIEW_SCROLL_MODE_H
4 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
28 * @brief True if the content can be scrolled in X axis or false if
31 * @details Name "xAxisScrollEnabled", type Property::BOOLEAN
33 X_AXIS_SCROLL_ENABLED,
36 * @brief When set, causes scroll view to snap to multiples of the
37 * value of the interval in the X axis while flicking.
39 * By default, there is no snapping.
40 * @details Name "xAxisSnapToInterval", type Property::FLOAT
42 X_AXIS_SNAP_TO_INTERVAL,
45 * @brief When set, causes scroll view unable to scroll beyond the
46 * value of the boundary in the X axis.
48 * By default, there is no boundary.
49 * @details Name "xAxisScrollBoundary", type Property::FLOAT
51 X_AXIS_SCROLL_BOUNDARY,
54 * @brief True if the content can be scrolled in Y axis or false if
57 * @details Name "yAxisScrollEnabled", type Property::BOOLEAN
59 Y_AXIS_SCROLL_ENABLED,
62 * @brief When set, causes scroll view to snap to multiples of the
63 * value of the interval in the Y axis while flicking.
65 * By default, there is no snapping.
66 * @details Name "yAxisSnapToInterval", type Property::FLOAT
68 Y_AXIS_SNAP_TO_INTERVAL,
71 * @brief When set, causes scroll view unable to scroll beyond the
72 * value of the boundary in the Y axis.
74 * By default, there is no boundary.
75 * @details Name "yAxisScrollBoundary", type Property::FLOAT
77 Y_AXIS_SCROLL_BOUNDARY
84 #endif //DALI_TOOLKIT_DEVEL_API_SCROLL_VIEW_SCROLL_MODE_H