2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
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
8 * http://floralicense.org/license/
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.
17 #define RESOURCE_IMAGE( FILE_NAME ) \
20 images.image: FILE_NAME COMP; \
22 part { name: "image"; \
24 state: "default" 0.0; \
25 image.normal: FILE_NAME; \
26 color_class: "AO012"; \
28 aspect_preference: BOTH; \
34 #define RESOURCE_IMAGE_LOSSY( FILE_NAME ) \
37 images.image: FILE_NAME LOSSY 85; \
39 part { name: "image"; \
41 state: "default" 0.0; \
42 image.normal: FILE_NAME; \
43 color_class: "AO012"; \
45 aspect_preference: BOTH; \
51 #define RESOURCE_IMAGE2( FILE_NAME ) \
54 images.image: FILE_NAME COMP; \
56 part { name: "image"; \
58 state: "default" 0.0; \
59 image.normal: FILE_NAME; \
61 aspect_preference: BOTH; \
67 #define RESOURCE_IMAGE_AND_COLOR( FILE_NAME, COLOR ) \
70 images.image: FILE_NAME COMP; \
72 part { name: "image"; \
74 state: "default" 0.0; \
75 image.normal: FILE_NAME; \
78 aspect_preference: BOTH; \
84 #define RESOURCE_IMAGE3( FILE_NAME ) \
87 images.image: FILE_NAME COMP; \
89 part { name: "image"; \
91 state: "default" 0.0; \
92 image.normal: FILE_NAME; \
93 aspect_preference: BOTH; \