0107768084672458af4b8266f865e1fd3104c52d
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / visuals / visual-string-constants.cpp
1  /*
2  * Copyright (c) 2015 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 const char * const RENDERER_TYPE("rendererType");
31 const char * const COLOR_RENDERER("COLOR");
32 const char * const BORDER_RENDERER("BORDER");
33 const char * const GRADIENT_RENDERER("GRADIENT");
34 const char * const IMAGE_RENDERER("IMAGE");
35 const char * const MESH_RENDERER("MESH");
36 const char * const PRIMITIVE_RENDERER( "PRIMITIVE" );
37 const char * const DEBUG_RENDERER("DEBUG");
38
39 const char * const IMAGE_URL_NAME("url");
40 const char * const ATLAS_RECT_UNIFORM_NAME ( "uAtlasRect" );
41 const char * const LIGHT_POSITION_UNIFORM_NAME( "lightPosition" );
42
43 //Mesh properties
44 const char * const OBJECT_URL( "objectUrl" );
45 const char * const MATERIAL_URL( "materialUrl" );
46 const char * const TEXTURES_PATH( "texturesPath" );
47 const char * const SHADER_TYPE( "shaderType" );
48 const char * const USE_MIPMAPPING( "useMipmapping" );
49 const char * const USE_SOFT_NORMALS( "useSoftNormals" );
50
51 //Primitive shape properties
52 const char * const PRIMITIVE_SHAPE( "shape" );
53 const char * const SHAPE_COLOR( "shapeColor" );
54 const char * const SLICES( "slices" );
55 const char * const STACKS( "stacks" );
56 const char * const SCALE_TOP_RADIUS( "scaleTopRadius" );
57 const char * const SCALE_BOTTOM_RADIUS( "scaleBottomRadius" );
58 const char * const SCALE_HEIGHT( "scaleHeight" );
59 const char * const SCALE_RADIUS( "scaleRadius" );
60 const char * const SCALE_DIMENSIONS( "scaleDimensions" );
61 const char * const BEVEL_PERCENTAGE( "bevelPercentage" );
62 const char * const BEVEL_SMOOTHNESS( "bevelSmoothness" );
63
64 } // namespace Internal
65
66 } // namespace Toolkit
67
68 } // namespace Dali