Added devel property PREMULTIPLIED_ALPHA ( "premultipliedAlpha" ).
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / visuals / visual-string-constants.cpp
1  /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 // CLASS HEADER
19 #include "visual-string-constants.h"
20
21 namespace Dali
22 {
23
24 namespace Toolkit
25 {
26
27 namespace Internal
28 {
29
30 // Custom shader
31 const char * const CUSTOM_SHADER( "shader" );
32 const char * const CUSTOM_VERTEX_SHADER( "vertexShader" );
33 const char * const CUSTOM_FRAGMENT_SHADER( "fragmentShader" );
34 const char * const CUSTOM_SUBDIVIDE_GRID_X( "subdivideGridX" );
35 const char * const CUSTOM_SUBDIVIDE_GRID_Y( "subdivideGridY" );
36 const char * const CUSTOM_SHADER_HINTS( "hints" );
37
38 // Transform
39 extern const char * const TRANSFORM( "transform" );
40 extern const char * const SIZE( "size" );
41 extern const char * const OFFSET( "offset" );
42 extern const char * const OFFSET_SIZE_MODE( "offsetSizeMode" );
43 extern const char * const ORIGIN( "origin" );
44 extern const char * const ANCHOR_POINT( "anchorPoint" );
45
46 // Premultipled alpha
47 extern const char * const PREMULTIPLIED_ALPHA( "premultipliedAlpha" );
48
49 // Image visual
50 const char * const IMAGE_URL_NAME( "url" );
51 const char * const ATLAS_RECT_UNIFORM_NAME ( "uAtlasRect" );
52
53 } // namespace Internal
54
55 } // namespace Toolkit
56
57 } // namespace Dali