1 #ifndef DALI_TOOLKIT_TEXT_EDITOR_DEVEL_H
2 #define DALI_TOOLKIT_TEXT_EDITOR_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/text-controls/text-editor.h>
30 namespace DevelTextEditor
37 RENDERING_BACKEND = Dali::Toolkit::TextEditor::Property::RENDERING_BACKEND,
38 TEXT = Dali::Toolkit::TextEditor::Property::TEXT,
39 TEXT_COLOR = Dali::Toolkit::TextEditor::Property::TEXT_COLOR,
40 FONT_FAMILY = Dali::Toolkit::TextEditor::Property::FONT_FAMILY,
41 FONT_STYLE = Dali::Toolkit::TextEditor::Property::FONT_STYLE,
42 POINT_SIZE = Dali::Toolkit::TextEditor::Property::POINT_SIZE,
43 HORIZONTAL_ALIGNMENT = Dali::Toolkit::TextEditor::Property::HORIZONTAL_ALIGNMENT,
44 SCROLL_THRESHOLD = Dali::Toolkit::TextEditor::Property::SCROLL_THRESHOLD,
45 SCROLL_SPEED = Dali::Toolkit::TextEditor::Property::SCROLL_SPEED,
46 PRIMARY_CURSOR_COLOR = Dali::Toolkit::TextEditor::Property::PRIMARY_CURSOR_COLOR,
47 SECONDARY_CURSOR_COLOR = Dali::Toolkit::TextEditor::Property::SECONDARY_CURSOR_COLOR,
48 ENABLE_CURSOR_BLINK = Dali::Toolkit::TextEditor::Property::ENABLE_CURSOR_BLINK,
49 CURSOR_BLINK_INTERVAL = Dali::Toolkit::TextEditor::Property::CURSOR_BLINK_INTERVAL,
50 CURSOR_BLINK_DURATION = Dali::Toolkit::TextEditor::Property::CURSOR_BLINK_DURATION,
51 CURSOR_WIDTH = Dali::Toolkit::TextEditor::Property::CURSOR_WIDTH,
52 GRAB_HANDLE_IMAGE = Dali::Toolkit::TextEditor::Property::GRAB_HANDLE_IMAGE,
53 GRAB_HANDLE_PRESSED_IMAGE = Dali::Toolkit::TextEditor::Property::GRAB_HANDLE_PRESSED_IMAGE,
54 SELECTION_HANDLE_IMAGE_LEFT = Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_IMAGE_LEFT,
55 SELECTION_HANDLE_IMAGE_RIGHT = Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_IMAGE_RIGHT,
56 SELECTION_HANDLE_PRESSED_IMAGE_LEFT = Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_PRESSED_IMAGE_LEFT,
57 SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_PRESSED_IMAGE_RIGHT,
58 SELECTION_HANDLE_MARKER_IMAGE_LEFT = Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_MARKER_IMAGE_LEFT,
59 SELECTION_HANDLE_MARKER_IMAGE_RIGHT = Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_MARKER_IMAGE_RIGHT,
60 SELECTION_HIGHLIGHT_COLOR = Dali::Toolkit::TextEditor::Property::SELECTION_HIGHLIGHT_COLOR,
61 DECORATION_BOUNDING_BOX = Dali::Toolkit::TextEditor::Property::DECORATION_BOUNDING_BOX,
62 ENABLE_MARKUP = Dali::Toolkit::TextEditor::Property::ENABLE_MARKUP,
63 INPUT_COLOR = Dali::Toolkit::TextEditor::Property::INPUT_COLOR,
64 INPUT_FONT_FAMILY = Dali::Toolkit::TextEditor::Property::INPUT_FONT_FAMILY,
65 INPUT_FONT_STYLE = Dali::Toolkit::TextEditor::Property::INPUT_FONT_STYLE,
66 INPUT_POINT_SIZE = Dali::Toolkit::TextEditor::Property::INPUT_POINT_SIZE,
67 LINE_SPACING = Dali::Toolkit::TextEditor::Property::LINE_SPACING,
68 INPUT_LINE_SPACING = Dali::Toolkit::TextEditor::Property::INPUT_LINE_SPACING,
69 UNDERLINE = Dali::Toolkit::TextEditor::Property::UNDERLINE,
70 INPUT_UNDERLINE = Dali::Toolkit::TextEditor::Property::INPUT_UNDERLINE,
71 SHADOW = Dali::Toolkit::TextEditor::Property::SHADOW,
72 INPUT_SHADOW = Dali::Toolkit::TextEditor::Property::INPUT_SHADOW,
73 EMBOSS = Dali::Toolkit::TextEditor::Property::EMBOSS,
74 INPUT_EMBOSS = Dali::Toolkit::TextEditor::Property::INPUT_EMBOSS,
75 OUTLINE = Dali::Toolkit::TextEditor::Property::OUTLINE,
76 INPUT_OUTLINE = Dali::Toolkit::TextEditor::Property::INPUT_OUTLINE,
77 SMOOTH_SCROLL = Dali::Toolkit::TextEditor::Property::SMOOTH_SCROLL,
78 SMOOTH_SCROLL_DURATION = Dali::Toolkit::TextEditor::Property::SMOOTH_SCROLL_DURATION,
79 ENABLE_SCROLL_BAR = Dali::Toolkit::TextEditor::Property::ENABLE_SCROLL_BAR,
80 SCROLL_BAR_SHOW_DURATION = Dali::Toolkit::TextEditor::Property::SCROLL_BAR_SHOW_DURATION,
81 SCROLL_BAR_FADE_DURATION = Dali::Toolkit::TextEditor::Property::SCROLL_BAR_FADE_DURATION,
82 PIXEL_SIZE = Dali::Toolkit::TextEditor::Property::PIXEL_SIZE,
83 LINE_COUNT = Dali::Toolkit::TextEditor::Property::LINE_COUNT,
84 ENABLE_SELECTION = Dali::Toolkit::TextEditor::Property::ENABLE_SELECTION,
85 PLACEHOLDER = Dali::Toolkit::TextEditor::Property::PLACEHOLDER,
86 LINE_WRAP_MODE = Dali::Toolkit::TextEditor::Property::LINE_WRAP_MODE,
89 * @brief The text to display when the TextEditor is empty and inactive.
90 * @details Name "placeholderText", type Property::STRING.
95 * @brief The placeholder-text color.
96 * @details Name "placeholderTextColor", type Property::VECTOR4.
98 PLACEHOLDER_TEXT_COLOR,
101 * @brief Enables Text selection using Shift key.
102 * @details Name "enableShiftSelection", type Property::BOOLEAN.
104 ENABLE_SHIFT_SELECTION
107 } // namespace Property
109 } // namespace DevelTextEditor
111 } // namespace Toolkit
115 #endif // DALI_TOOLKIT_TEXT_EDITOR_DEVEL_H