SFML community forums

Help => General => Topic started by: Mad Engineer on December 28, 2013, 09:51:07 pm

Title: Using SFML with win32 API
Post by: Mad Engineer on December 28, 2013, 09:51:07 pm
Is it possible to make only part of the window render target, so i can use rest of the window for my win32 commands. I want to do this to create map editor for my 2D game.
Title: Re: Using SFML with win32 API
Post by: eXpl0it3r on December 28, 2013, 11:52:53 pm
Not sure what you mean with "win32 commands". If you want to use SFML with a GUI system, you should rather create a SFML widget for that GUI system and integrate it that way.

But yes you can render only to part of the screen, by changing the viewport. See the tutorial and documentation on how to do this. :)
Title: Re: Using SFML with win32 API
Post by: Mad Engineer on December 29, 2013, 11:05:45 am
Thanks, this made my day :D