tizen 2.3.1 release
[apps/home/b2-clocksetting.git] / data / changeable / groups / edc_image_macro.edc
1 /*
2  *  Copyright (c) 2014 Samsung Electronics Co., Ltd.
3  *
4  *  Licensed under the Flora License, Version 1.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://floralicense.org/license/
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 #define RESOURCE_IMAGE( FILE_NAME ) \
18    group { \
19       name: FILE_NAME; \
20       images.image: FILE_NAME COMP; \
21       parts { \
22          part { name: "image"; \
23             description { \
24                state: "default" 0.0; \
25                image.normal: FILE_NAME; \
26                            color_class: "AO012"; \
27                aspect: 1 1; \
28                aspect_preference: BOTH; \
29             } \
30          } \
31       } \
32    }
33
34 #define RESOURCE_IMAGE_LOSSY( FILE_NAME ) \
35    group { \
36       name: FILE_NAME; \
37       images.image: FILE_NAME LOSSY 85; \
38       parts { \
39          part { name: "image"; \
40             description { \
41                state: "default" 0.0; \
42                image.normal: FILE_NAME; \
43                            color_class: "AO012"; \
44                aspect: 1 1; \
45                aspect_preference: BOTH; \
46             } \
47          } \
48       } \
49    }
50
51 #define RESOURCE_IMAGE2( FILE_NAME ) \
52    group { \
53       name: FILE_NAME; \
54       images.image: FILE_NAME COMP; \
55       parts { \
56          part { name: "image"; \
57             description { \
58                state: "default" 0.0; \
59                image.normal: FILE_NAME; \
60                aspect: 1 1; \
61                aspect_preference: BOTH; \
62             } \
63          } \
64       } \
65    }
66    
67 #define RESOURCE_IMAGE_AND_COLOR( FILE_NAME, COLOR ) \
68    group { \
69       name: FILE_NAME; \
70       images.image: FILE_NAME COMP; \
71       parts { \
72          part { name: "image"; \
73             description { \
74                state: "default" 0.0; \
75                image.normal: FILE_NAME; \
76                            color_class: COLOR; \
77                aspect: 1 1; \
78                aspect_preference: BOTH; \
79             } \
80          } \
81       } \
82    }
83    
84 #define RESOURCE_IMAGE3( FILE_NAME ) \
85    group { \
86       name: FILE_NAME; \
87       images.image: FILE_NAME COMP; \
88       parts { \
89          part { name: "image"; \
90             description { \
91                state: "default" 0.0; \
92                image.normal: FILE_NAME; \
93                aspect_preference: BOTH; \
94             } \
95          } \
96       } \
97    }