tizen 2.3.1 release
[apps/home/b2-clocksetting.git] / data / 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                aspect: 1 1; \
27                aspect_preference: BOTH; \
28             } \
29          } \
30       } \
31    }
32
33 #define RESOURCE_IMAGE2( FILE_NAME ) \
34    group { \
35       name: FILE_NAME; \
36       images.image: FILE_NAME COMP; \
37       parts { \
38          part { name: "image"; \
39             description { \
40                state: "default" 0.0; \
41                image.normal: FILE_NAME; \
42                color: 255 144 0 255; \
43                aspect: 1 1; \
44                aspect_preference: BOTH; \
45             } \
46          } \
47       } \
48    }