*** Changes in 2.2 ***
- Templates are much more streamlined and now have the background separated from the labels. This serves 2 functions:
- ** You can now change the background for any template and place the texture that you want in there. Just copy over the old background.png file (make a backup first!)
- ** File size for the installer and subsequent updates are significantly reduced since each card basically resuses the same frames. Installation file size went from 74 MB to13.5 MB and that's with 3 new templates
I came to the same conclusion : there is no need to store both the card background and the colored header in the same image. The final card can be a layered combination of several smaller graphic elements, each one being less space consuming. My next version of the template will implement such a functionality.
With the appropriate splitting of code (I use include files), it is also very easy to add a new background or header : I just have to modify the menu which propose it, the script code which associates the name in the menu and a file name, and it's done !
I experimented another improvement that you may find useful for your own template, as it uses menu for action/range icons : colored action/range (or item for my template) icons for *every color*. The idea :
- the image displayed on the card is not the icon itself, but a 73x73 square image containing the color (depending on the card color field). There must be an image per color available in the template
- the image is displayed through a mask which has the shape of the range/action icon (the one selected by the menu).
=> no need to have a gren/red/black/whateverColor version of each icon, you only need one mask per icon and one color image per card color. Adding a new color is easy, as is adding a new icon.