{ ".stacked_yfactor", "1", TYPE_INTEGER },
{ ".stacked_xoffset", "0", TYPE_INTEGER },
{ ".stacked_yoffset", "0", TYPE_INTEGER },
+ { ".color_template", "false", TYPE_BOOLEAN },
{ NULL, NULL, 0 }
};
g->stacked_yfactor = parameter[GFX_ARG_STACKED_YFACTOR];
g->stacked_xoffset = parameter[GFX_ARG_STACKED_XOFFSET];
g->stacked_yoffset = parameter[GFX_ARG_STACKED_YOFFSET];
+
+ // this is only used for optional color template images
+ g->color_template = parameter[GFX_ARG_COLOR_TEMPLATE];
}
static void set_graphic_parameters(int graphic)
GFX_ARG_STACKED_YFACTOR,
GFX_ARG_STACKED_XOFFSET,
GFX_ARG_STACKED_YOFFSET,
+ GFX_ARG_COLOR_TEMPLATE,
NUM_GFX_ARGS
};
int stacked_xoffset;
int stacked_yoffset;
+ boolean color_template; // optional setting for color template images
+
boolean use_image_size; // use image size as default width and height
};