Initialize Tizen 2.3
[apps/home/b2-clocksetting.git] / data / groups / edc_image_macro.edc
1 /*
2  * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
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 #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_IMAGE_LOSSY( FILE_NAME ) \
34    group { \
35       name: FILE_NAME; \
36       images.image: FILE_NAME LOSSY 85; \
37       parts { \
38          part { name: "image"; \
39             description { \
40                state: "default" 0.0; \
41                image.normal: FILE_NAME; \
42                aspect: 1 1; \
43                aspect_preference: BOTH; \
44             } \
45          } \
46       } \
47    }