Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Window and Graphics resize  (Read 1369 times)

0 Members and 1 Guest are viewing this topic.

Kosmos

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • Email
Window and Graphics resize
« on: December 16, 2012, 02:29:51 pm »
Hello,

I was wondering. I'm going to start a new project, and I have a question regarding the SFML library:

If I make a window 800x600x32 for example, and the user of the application resized the window, can I make the graphics resize as well?

I know it is possible with OpenGL, but I don't know the latter.

Cheers,
Kosmos.
« Last Edit: December 16, 2012, 04:36:27 pm by Kosmos »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Window and Graphics resize
« Reply #1 on: December 16, 2012, 06:28:42 pm »
This is the default behaviour, you don't even have to do anything.
Laurent Gomila - SFML developer

Kosmos

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • Email
Re: Window and Graphics resize
« Reply #2 on: December 16, 2012, 09:59:21 pm »
Great, thank you very much.