Hello David,
Thank you for your reply, I hope you don't mind that I put the thread back 
into the mailing list, I believe this can be useful for other people (or 
myself, in a couple of months when I won't have this mail anymore and it'll 
be in the archives).

On Saturday March 3 2007 16:21, David Anes wrote:
> Hi Pablo,
> Embed the images into the assembly as resources,

I believe I have already done that. I've added the images as deployable 
resources in MonoDevelop. When I have to pick an icon for example, I can 
click in the Resources tab and see my images there. Is that enough?

> and load back the images at runtime.

Can you give me any hints about how this is done?
Note: the images are SVG and are loaded my own code (wrapper around Cairo and 
Rsvg). Having a class/method resolving the absolute path having only a 
relative path (like "images/blah.svg") would be the best, but if I can get 
the file as a kind of object, then I'll figure it out how to use that object.
I've played a bit with ResourceManager because I understand that is the class 
for this, but I couldn't get anywhere.

Thank you.
-- 
José Pablo Fernández <[EMAIL PROTECTED]> (http://pupeno.com)

Attachment: pgpqty18EkFYY.pgp
Description: PGP signature

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to