diff options
Diffstat (limited to 'resources/tethering_image_macro.edc')
-rw-r--r-- | resources/tethering_image_macro.edc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/resources/tethering_image_macro.edc b/resources/tethering_image_macro.edc new file mode 100644 index 0000000..daf298e --- /dev/null +++ b/resources/tethering_image_macro.edc @@ -0,0 +1,31 @@ +#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_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; \ + } \ + } \ + } \ + } |