[dali_1.2.62] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / visuals / visual-string-constants.h
1 #ifndef DALI_TOOLKIT_INTERNAL_VISUAL_STRING_CONSTANTS_H
2 #define DALI_TOOLKIT_INTERNAL_VISUAL_STRING_CONSTANTS_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 // EXTERNAL INCLUDES
22 #include <dali/devel-api/scripting/enum-helper.h>
23
24 namespace Dali
25 {
26
27 namespace Toolkit
28 {
29
30 namespace Internal
31 {
32
33 // Visual type
34 extern const char * const VISUAL_TYPE;
35 extern const Dali::Scripting::StringEnum VISUAL_TYPE_TABLE[];
36 extern const unsigned int VISUAL_TYPE_TABLE_COUNT;
37
38 // Custom shader
39 extern const char * const CUSTOM_SHADER;
40 extern const char * const CUSTOM_VERTEX_SHADER;
41 extern const char * const CUSTOM_FRAGMENT_SHADER;
42 extern const char * const CUSTOM_SUBDIVIDE_GRID_X;
43 extern const char * const CUSTOM_SUBDIVIDE_GRID_Y;
44 extern const char * const CUSTOM_SHADER_HINTS;
45
46 // Transform
47 extern const char * const TRANSFORM;
48 extern const char * const SIZE;
49 extern const char * const OFFSET;
50 extern const char * const OFFSET_SIZE_MODE;
51 extern const char * const ORIGIN;
52 extern const char * const ANCHOR_POINT;
53
54 // Premultiplied alpha
55 extern const char * const PREMULTIPLIED_ALPHA;
56
57 // Mix color
58 extern const char * const MIX_COLOR;
59 extern const char * const OPACITY;
60
61 // Image visual
62 extern const char * const IMAGE_URL_NAME;
63 extern const char * const ATLAS_RECT_UNIFORM_NAME;
64 extern const char * const PIXEL_AREA_UNIFORM_NAME;
65 extern const char * const WRAP_MODE_UNIFORM_NAME;
66 extern const char * const IMAGE_WRAP_MODE_U;
67 extern const char * const IMAGE_WRAP_MODE_V;
68 extern const char * const IMAGE_BORDER;
69 extern const char * const PIXEL_ALIGNED_UNIFORM_NAME;
70 extern const char * const ANIMATED_IMAGE_URLS_NAME;
71 extern const char * const BATCH_SIZE_NAME;
72 extern const char * const CACHE_SIZE_NAME;
73 extern const char * const FRAME_DELAY_NAME;
74 extern const char * const MASK_CONTENT_SCALE_NAME;
75 extern const char * const CROP_TO_MASK_NAME;
76 extern const char * const RELEASE_POLICY_NAME;
77
78 // Text visual
79 extern const char * const TEXT_PROPERTY;
80
81 } // namespace Internal
82
83 } // namespace Toolkit
84
85 } // namespace Dali
86
87 #endif /* DALI_TOOLKIT_INTERNAL_VISUAL_STRING_CONSTANTS_H */