Add ENABLE_SHIFT_SELECTION property
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / controls / text-controls / text-field-devel.h
1 #ifndef DALI_TOOLKIT_TEXT_FIELD_DEVEL_H
2 #define DALI_TOOLKIT_TEXT_FIELD_DEVEL_H
3
4 /*
5  * Copyright (c) 2017 Samsung Electronics Co., Ltd.
6  *
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
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
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.
18  *
19  */
20
21 // INTERNAL INCLUDES
22 #include <dali-toolkit/public-api/controls/text-controls/text-field.h>
23
24 namespace Dali
25 {
26
27 namespace Toolkit
28 {
29
30 namespace DevelTextField
31 {
32
33 namespace Property
34 {
35   enum
36   {
37       RENDERING_BACKEND = Dali::Toolkit::TextField::Property::RENDERING_BACKEND,
38       TEXT = Dali::Toolkit::TextField::Property::TEXT,
39       PLACEHOLDER_TEXT = Dali::Toolkit::TextField::Property::PLACEHOLDER_TEXT,
40       PLACEHOLDER_TEXT_FOCUSED = Dali::Toolkit::TextField::Property::PLACEHOLDER_TEXT_FOCUSED,
41       FONT_FAMILY = Dali::Toolkit::TextField::Property::FONT_FAMILY,
42       FONT_STYLE = Dali::Toolkit::TextField::Property::FONT_STYLE,
43       POINT_SIZE = Dali::Toolkit::TextField::Property::POINT_SIZE,
44       MAX_LENGTH = Dali::Toolkit::TextField::Property::MAX_LENGTH,
45       EXCEED_POLICY = Dali::Toolkit::TextField::Property::EXCEED_POLICY,
46       HORIZONTAL_ALIGNMENT = Dali::Toolkit::TextField::Property::HORIZONTAL_ALIGNMENT,
47       VERTICAL_ALIGNMENT = Dali::Toolkit::TextField::Property::VERTICAL_ALIGNMENT,
48       TEXT_COLOR = Dali::Toolkit::TextField::Property::TEXT_COLOR,
49       PLACEHOLDER_TEXT_COLOR = Dali::Toolkit::TextField::Property::PLACEHOLDER_TEXT_COLOR,
50       SHADOW_OFFSET = Dali::Toolkit::TextField::Property::SHADOW_OFFSET,
51       SHADOW_COLOR = Dali::Toolkit::TextField::Property::SHADOW_COLOR,
52       PRIMARY_CURSOR_COLOR = Dali::Toolkit::TextField::Property::PRIMARY_CURSOR_COLOR,
53       SECONDARY_CURSOR_COLOR = Dali::Toolkit::TextField::Property::SECONDARY_CURSOR_COLOR,
54       ENABLE_CURSOR_BLINK = Dali::Toolkit::TextField::Property::ENABLE_CURSOR_BLINK,
55       CURSOR_BLINK_INTERVAL = Dali::Toolkit::TextField::Property::CURSOR_BLINK_INTERVAL,
56       CURSOR_BLINK_DURATION = Dali::Toolkit::TextField::Property::CURSOR_BLINK_DURATION,
57       CURSOR_WIDTH = Dali::Toolkit::TextField::Property::CURSOR_WIDTH,
58       GRAB_HANDLE_IMAGE = Dali::Toolkit::TextField::Property::GRAB_HANDLE_IMAGE,
59       GRAB_HANDLE_PRESSED_IMAGE = Dali::Toolkit::TextField::Property::GRAB_HANDLE_PRESSED_IMAGE,
60       SCROLL_THRESHOLD = Dali::Toolkit::TextField::Property::SCROLL_THRESHOLD,
61       SCROLL_SPEED = Dali::Toolkit::TextField::Property::SCROLL_SPEED,
62       SELECTION_HANDLE_IMAGE_LEFT = Dali::Toolkit::TextField::Property::SELECTION_HANDLE_IMAGE_LEFT,
63       SELECTION_HANDLE_IMAGE_RIGHT = Dali::Toolkit::TextField::Property::SELECTION_HANDLE_IMAGE_RIGHT,
64       SELECTION_HANDLE_PRESSED_IMAGE_LEFT = Dali::Toolkit::TextField::Property::SELECTION_HANDLE_PRESSED_IMAGE_LEFT,
65       SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = Dali::Toolkit::TextField::Property::SELECTION_HANDLE_PRESSED_IMAGE_RIGHT,
66       SELECTION_HANDLE_MARKER_IMAGE_LEFT = Dali::Toolkit::TextField::Property::SELECTION_HANDLE_MARKER_IMAGE_LEFT,
67       SELECTION_HANDLE_MARKER_IMAGE_RIGHT = Dali::Toolkit::TextField::Property::SELECTION_HANDLE_MARKER_IMAGE_RIGHT,
68       SELECTION_HIGHLIGHT_COLOR = Dali::Toolkit::TextField::Property::SELECTION_HIGHLIGHT_COLOR,
69       DECORATION_BOUNDING_BOX = Dali::Toolkit::TextField::Property::DECORATION_BOUNDING_BOX,
70       INPUT_METHOD_SETTINGS = Dali::Toolkit::TextField::Property::INPUT_METHOD_SETTINGS,
71       INPUT_COLOR = Dali::Toolkit::TextField::Property::INPUT_COLOR,
72       ENABLE_MARKUP = Dali::Toolkit::TextField::Property::ENABLE_MARKUP,
73       INPUT_FONT_FAMILY = Dali::Toolkit::TextField::Property::INPUT_FONT_FAMILY,
74       INPUT_FONT_STYLE = Dali::Toolkit::TextField::Property::INPUT_FONT_STYLE,
75       INPUT_POINT_SIZE = Dali::Toolkit::TextField::Property::INPUT_POINT_SIZE,
76       UNDERLINE = Dali::Toolkit::TextField::Property::UNDERLINE,
77       INPUT_UNDERLINE = Dali::Toolkit::TextField::Property::INPUT_UNDERLINE,
78       SHADOW = Dali::Toolkit::TextField::Property::SHADOW,
79       INPUT_SHADOW = Dali::Toolkit::TextField::Property::INPUT_SHADOW,
80       EMBOSS = Dali::Toolkit::TextField::Property::EMBOSS,
81       INPUT_EMBOSS = Dali::Toolkit::TextField::Property::INPUT_EMBOSS,
82       OUTLINE = Dali::Toolkit::TextField::Property::OUTLINE,
83       INPUT_OUTLINE = Dali::Toolkit::TextField::Property::INPUT_OUTLINE,
84       HIDDEN_INPUT_SETTINGS = Dali::Toolkit::TextField::Property::HIDDEN_INPUT_SETTINGS,
85       PIXEL_SIZE = Dali::Toolkit::TextField::Property::PIXEL_SIZE,
86       ENABLE_SELECTION = Dali::Toolkit::TextField::Property::ENABLE_SELECTION,
87       PLACEHOLDER = Dali::Toolkit::TextField::Property::PLACEHOLDER,
88       ELLIPSIS = Dali::Toolkit::TextField::Property::ELLIPSIS,
89
90       /**
91        * @brief Enables Text selection using Shift key.
92        * @details Name "enableShiftSelection", type Property::BOOLEAN.
93        */
94       ENABLE_SHIFT_SELECTION = ELLIPSIS + 1
95   };
96 } // namespace Property
97
98 } // namespace DevelText
99
100 } // namespace Toolkit
101
102 } // namespace Dali
103
104 #endif // DALI_TOOLKIT_TEXT_FIELD_DEVEL_H