[Mono-list] What do I do with my images...
José Pablo Fernández
pupeno at pupeno.com
Sat Mar 3 14:08:27 EST 2007
Hello,
I am just starting to develop an application in C# using Mono and MonoDevelop.
The application has some data files. They are images in SVG format. I've
already handled the opening and rendering of them[1], but so far I am using
absolute paths: /home/pupeno/myproject/images/img.svg.
Of course that's bad and I want to improve that, but, what should I do? Should
I put my images as resources somehow? Should I build an absolute path with
the help of some class? I don't even know where these images would end up
being installed?
Well, I hope that by now you see how lost I am in solving this problem. In
C++/KDE I just made a Makefile to put my files in $prefix/share/myapp/ and
then there where a class that would know about the correct $prefix and give
me the right path to get the file.
Any hints are appreciated!
Thank you.
--
José Pablo Fernández <pupeno at pupeno.com> (http://pupeno.com)
[1] I'll publish how in my blog soon: http://pupeno.com.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20070303/e0220be8/attachment.bin
More information about the Mono-list
mailing list