SFML community forums
Help => Graphics => Topic started by: Ankou on March 26, 2008, 04:54:58 pm
-
Hi
I want to draw on a control with SFML and wxWidgets(I need SFML there but I also have to draw primitives like lines, so I have to use the normal wxWidgets drawing, too).
It works fine as long as I use wxPaintDC, but when I use wxBufferedPaintDC I can't draw with sfml.
But I need double buffering? What shall I do?
-
I don't think this is a good mix. You can't mix the double-buffered SFML drawing with the wxWidgets one.
By the way, SFML has a Shape class to display simple primitives. It's available on SVN.
-
okay, great.
Uhm... It may sound a bit nooby but ...
how can I download the files at once?
Or do I have to download each file apart?
-
Install a SVN client (like tortoiseSVN on Windows), and just do a checkout of the whole repository. Then recompile.
Very simple ;)
-
Error: PROPFIND request failed on '/viewvc/sfml'
Error: PROPFIND of '/viewvc/sfml': 301 Moved (http://sfml.svn.sourceforge.net)
uhm okay, google finds a lot. But on almost every link it's another problem...
-
Download http://tortoisesvn.tigris.org/ and then do a SVN checkout on https://sfml.svn.sourceforge.net/svnroot/sfml
Easy as pie. ;)
Edit: Oh I see what you're doing now. You can't checkout the https://sfml.svn.sourceforge.net/viewvc/sfml page. You need to use the checkout directory I've written above. ;)
-
oh okay, yeah that worked.
Thanks
@Laurent: The shapeclass is exactly what I needed, great work!
-
@Laurent: The shapeclass is exactly what I needed, great work!
Thanks :)
It's still a first version, so if you have any suggestion to improve it, let me know.