Quote:
Originally Posted by Mark Nord
But I worked today to move the help-text of FreeCell into a simple text-control.
Thus reduced the size of "freecellLabels.png" dramatically.
Further more I was able to reduce the size of "freecellMain.png"
By reducing the colour-depth to 16 colours and by modifing the cutouts, so that a smaller template could be used.
This two approaches could be used with the other apps, too.
The use of a text-control for help enables also the use of translated help-texts!
|
Hi Mark,
I would love to see how this works, but I am having difficulty getting it to run in the Sim. Here is the relevant section from eBookSimMain.xml:
Code:
case "Freecell" : {
kbook.autoRunRoot.getSoValue = _Core.system.getSoValue;
kbook.autoRunRoot.hasNumericButtons = _Core.config.compat.hasNumericButtons;
kbook.autoRunRoot._icon = 39;
kbook.autoRunRoot._title = "Free Cell";
kbook.autoRunRoot.getSoValue = _Core.system.getSoValue;
kbook.autoRunRoot.getFileContent = _Core.io.getFileContent;
this.EINK.VIEW.setURI("../addons/Freecell/freecell.xml");
break;
}
What have I done wrong?
Sincerely,
Ben.