Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Using SFML with win32 API
Print
Pages: [
1
]
Author
Topic: Using SFML with win32 API (Read 2268 times)
0 Members and 1 Guest are viewing this topic.
Mad Engineer
Newbie
Posts: 26
Using SFML with win32 API
«
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.
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 10976
Re: Using SFML with win32 API
«
Reply #1 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.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Mad Engineer
Newbie
Posts: 26
Re: Using SFML with win32 API
«
Reply #2 on:
December 29, 2013, 11:05:45 am »
Thanks, this made my day
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Using SFML with win32 API
anything