Hi everyone,
I just finished a first-pass attempt at a Touch-compatible version of Clemenseken's Mahjong game.
To activate Touch in the Test Environment, edit eBookSimMain.xml and change
Code:
case "Mahjong" : {
this.EINK.VIEW.setURI("../addons/Mahjong/mahjong.xml");
break;
}
to
Code:
case "Mahjong" : {
kbook.autoRunRoot.getSoValue = _Core.system.getSoValue;
kbook.autoRunRoot.hasNumericButtons = _Core.config.compat.hasNumericButtons;
this.EINK.VIEW.setURI("../addons/Mahjong/mahjong.xml");
break;
}
Hope it works for you!
Sincerely,
Ben.
EDIT 1: Removed some unnecessary graphics at the top of the screen.
EDIT 2: Fixed menu bug in non-Touch (thanks Mark!) and added two buttons to the Touch version: "New layout" and "Easy/Normal" (again, thanks to Mark for the redeployed Calculator buttons!). I think that's it...
UPDATE: Latest version now found in post
#145.