Hi Tron, Your config file worked. Well, it combined the images. It's about 100 kb vertically organised ,and about 67 kb horizontally organised. A quick glance suggests splitting it up in three 'height' groups should be effective enough. (and get it somewhere around 10-20 kb)
And the build version loads the combined image! *However:* 1 - graphical corruption on the only widget that actually seems to use the combined image: the input field 2 - it still loads all other graphics manually (and yes, they are all png's) I'm just guessing at what's going on here, but: 1 - the whole automatic viewport slicing isn't applied on to (all) decorators 2 - it has issues dealing with graphics that are already combined, or have decorators set up using combined images Greetings, Ralf 2010/8/11 thron7 <[email protected]> > > If somebody has a working config.json file that combines all the modern > > files into one. > > Please share! > > C'mon, that's not hard! I can't completely test this, but it should look > somewhat like this: > > { > "jobs" : > { > > "image-combine" : > { > "let" : > { > "RESPATH" : "source/resource", > "MODERNDIR" : "${RESPATH}/qx/decoration/Modern" > }, > > "cache" : > { > "compile" : "${TMPDIR}/cache" > }, > > "combine-images" : > { > "images" : > { > "${MODERNDIR}/all_png_combined.png" : > { > "prefix": [ "${RESPATH}" ], > "input" : > [ > { > "prefix": [ "${RESPATH}" ], > "files" : > [ > "${MODERNDIR}/arrows/*.png", > "${MODERNDIR}/colorselector/*.png", > //"${MODERNDIR}/cursors/*.png", > "${MODERNDIR}/form/*.png", > "${MODERNDIR}/groupbox/*.png", > "${MODERNDIR}/menu/*.png", > "${MODERNDIR}/pane/*.png", > "${MODERNDIR}/scrollbar/*.png", > "${MODERNDIR}/shadow/*.png", > "${MODERNDIR}/splitpane/*.png", > "${MODERNDIR}/table/*.png", > "${MODERNDIR}/tabview/*.png", > "${MODERNDIR}/toolbar/*.png", > "${MODERNDIR}/tree/*.png", > //"${MODERNDIR}/treevirtual/*.png", > "${MODERNDIR}/window/*.png" > ] > } > ], > "layout" : "vertical" > } > } > } > } > } > } > > This is just combining PNGs (as I don't know how well .png and .gif > combine in one image). Put it in the framework folder and try it. > > T. > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
