As advised, here is a first preview of common AppAssets.
Done quick 'n dirty, but it should illustrate the idea for Calc and FreeCell.
I've decided to use "freecellLabels.png" as base for AppLabels.png,
[EDIT] and added the chess and fiverow grafics. [/EDIT]
Common assets are defined in AppAssets.xml.
[EDIT] Chess and FiveRow cutouts need to be defined in AppAssets.xml [/EDIT]
Both files are located in AppAssets-folder under addons.
Common AppAssets are imported this way into the app-main.xml:
Code:
<assets>
<import href="../AppAssets/AppAssets.xml"/>
...
This way my calculater needs no separate recource-file, and for FreeCell only freecellCards.png is needed. Which should be moved to AppAssets/, too. If anyone decides to implement another cardgame.
Feel free to ask for further informations if this is not clear enough.
Regards
Mark
PS: of course should "AppLabels.png" be reworked, with labels packed closer.
Texture-names should be reviewed (gCursor -> pointingHand, a.s.o) and some more, and better named standard-text styles should be defined in "AppAssets.xml"