Hugh Gibson schrieb: >> I've added #embed entries to >> qx.ui.treevirtual.SimpleTreeDataCellRenderer > > A followup to this: I added #embed for various icons and the compiler *is* > picking up the entries and adding some resources.
This means it works now? Some minutes ago you though the embed entries at all are ignored. Do you think they work now correctly? > > However, it's only picking up the default resources. So my build folder looks > like: > > build/resource/qx/icon/Nuvola/48/status/dialog-error.png > > but I don't have entries in other themes. What is it that tells the compiler > to get other theme icons as well? > > My embed looks like: > > /* > #embed(qx.icontheme/48/status/dialog-error.png) > */ This seems to be OK and should definitely work. > > Looking at the Showcase app I can see entries like: > > #load(qx.theme.icon.Nuvola) > #load(qx.theme.icon.NuoveXT) > #load(qx.theme.icon.CrystalClear) > #load(qx.theme.icon.VistaInspirate) The resource handling works together with the include/exclude of classes. You need to include a icon theme class to also include the resources of the class. If you take a look at any of these icon theme classes you will find the approciate resource definition. This line is responsible to include the icons with the class. The embed entry is just a abstract definition. It don't control what icons from what themes gets included. It only defines the icons, which get included from all icon themes which are on the include list. This means that if the icon theme class is not included it does not copy the resource files, too. > > Is that what is needed? Yes, I think so. > > If so, can we have some documentation please - at > http://qooxdoo.org/documentation/user_manual/custom_builds#options Could you please add some documentation. I will review them for correctnes if you tell me that you are done. Sebastian > > Hugh > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
