blob: 08e600c6f16f4d815d7c9a41dfc3019c0912c3c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#define RESOURCE_IMAGE( FILE_NAME ) \
group { \
name: FILE_NAME; \
images.image: FILE_NAME COMP; \
parts { \
part { name: "image"; \
description { \
state: "default" 0.0; \
image.normal: FILE_NAME; \
aspect: 1 1; \
aspect_preference: BOTH; \
} \
} \
} \
}
#define RESOURCE_IMAGE_DEVICE( FILE_NAME ) \
group { \
name: FILE_NAME; \
images.image: FILE_NAME COMP; \
parts { \
part { name: "image"; \
description { \
state: "default" 0.0; \
image.normal: FILE_NAME; \
aspect: 1 1; \
aspect_preference: BOTH; \
} \
} \
} \
}
#define RESOURCE_IMAGE_LOSSY( FILE_NAME ) \
group { \
name: FILE_NAME; \
images.image: FILE_NAME LOSSY 85; \
parts { \
part { name: "image"; \
description { \
state: "default" 0.0; \
image.normal: FILE_NAME; \
aspect: 1 1; \
aspect_preference: BOTH; \
} \
} \
} \
}
|