(AnimatedVectorImage) Ensure the progress is kept according to actions
[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) 2018 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 // Fitting mode
62 extern const char * const VISUAL_FITTING_MODE;
63
64 // Color visual
65 extern const char * const RENDER_IF_TRANSPARENT_NAME;
66
67 // Image visual
68 extern const char * const IMAGE_URL_NAME;
69 extern const char * const ATLAS_RECT_UNIFORM_NAME;
70 extern const char * const PIXEL_AREA_UNIFORM_NAME;
71 extern const char * const WRAP_MODE_UNIFORM_NAME;
72 extern const char * const IMAGE_WRAP_MODE_U;
73 extern const char * const IMAGE_WRAP_MODE_V;
74 extern const char * const IMAGE_BORDER;
75 extern const char * const PIXEL_ALIGNED_UNIFORM_NAME;
76 extern const char * const ANIMATED_IMAGE_URLS_NAME;
77 extern const char * const BATCH_SIZE_NAME;
78 extern const char * const CACHE_SIZE_NAME;
79 extern const char * const FRAME_DELAY_NAME;
80 extern const char * const LOOP_COUNT_NAME;
81 extern const char * const MASK_CONTENT_SCALE_NAME;
82 extern const char * const CROP_TO_MASK_NAME;
83 extern const char * const LOAD_POLICY_NAME;
84 extern const char * const RELEASE_POLICY_NAME;
85 extern const char * const ORIENTATION_CORRECTION_NAME;
86 extern const char * const AUXILLARY_IMAGE_NAME;
87 extern const char * const AUXILLARY_IMAGE_ALPHA_NAME;
88 extern const char * const PLAY_RANGE_NAME;
89 extern const char * const PLAY_STATE_NAME;
90 extern const char * const CURRENT_PROGRESS_NAME;
91
92 // Text visual
93 extern const char * const TEXT_PROPERTY;
94
95 } // namespace Internal
96
97 } // namespace Toolkit
98
99 } // namespace Dali
100
101 #endif /* DALI_TOOLKIT_INTERNAL_VISUAL_STRING_CONSTANTS_H */