View Single Post
Old 03-21-2011, 06:41 AM   #204
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Problem with Mark's FreeCell in Sim

Quote:
Originally Posted by Mark Nord View Post
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.
BenChen is offline   Reply With Quote