# HG changeset patch # User wycc # Date 1290437917 -28800 # Node ID 8c2862e40c289dfd9a11af418fff47c09a9b8ce2 # Parent 148ce30a861df68fd8432b07b345112a8f0eace7 Change the main.svg to be the multi scene format. Use change Scene to switch from main to viewer page. diff -r 148ce30a861d -r 8c2862e40c28 nodejs/examples/mce/main.svg --- a/nodejs/examples/mce/main.svg Mon Nov 22 22:44:27 2010 +0800 +++ b/nodejs/examples/mce/main.svg Mon Nov 22 22:58:37 2010 +0800 @@ -14,8 +14,9 @@ height="1052.3622047" id="svg2" version="1.1" - inkscape:version="0.47 r22583" - sodipodi:docname="main.svg"> + inkscape:version="0.48+devel r9764 custom" + sodipodi:docname="main.svg" + xmlns:ns0="http://madbutterfly.sourceforge.net/DTD/madbutterfly.dtd"> + inkscape:window-width="1680" + inkscape:window-height="976" + inkscape:window-x="0" + inkscape:window-y="25" + inkscape:window-maximized="1" /> @@ -76,11 +77,19 @@ + + + + + id="layer2" + inkscape:label="Background"> + + - + - - - + + + - - - + + + - - - + + + - - - + + + - - - - - + + + + + - - - + + + - - - + + + + inkscape:label="cat6" + id="g2939" + transform="translate(661.14163,8.5714057)"> + + + + + + diff -r 148ce30a861d -r 8c2862e40c28 nodejs/examples/mce/mainmenu.js --- a/nodejs/examples/mce/mainmenu.js Mon Nov 22 22:44:27 2010 +0800 +++ b/nodejs/examples/mce/mainmenu.js Mon Nov 22 22:58:37 2010 +0800 @@ -21,6 +21,7 @@ MainMenu.prototype.init=function() { app.loadSVG("main.svg"); + app.changeScene(1); var i; var self = this; @@ -150,7 +151,7 @@ } MainMenu.prototype.changePage=function() { - this.app.loadSVG("preview.svg"); + this.app.changeScene(2); } exports.MainMenu=MainMenu;