how to use an existing composite image in GWT

2011-10-22 Thread Yogesh
Hi, I already have a composite image with me. How can I use this composite image along with ClientBundle / ImageBundle in GWT to show different images extracted from this composite image? Regards, Yogesh -- You received this message because you are subscribed to the Google Groups Google Web

Re: how to use an existing composite image in GWT

2011-10-22 Thread Thomas Broyer
You can't. You can use it as a DataResource and then either use it in a CssResource just like a basic CSS sprite (i.e. not a @sprite), grabbing the image URL (possibly an embedded data: URL) with @url; or with an Image widget using setUrlAndVisibleRect, or your can implement the ImageResource