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

Author Topic: Renderwindow with static size  (Read 1141 times)

0 Members and 2 Guests are viewing this topic.

CL90

  • Newbie
  • *
  • Posts: 12
    • View Profile
Renderwindow with static size
« on: February 28, 2012, 07:19:05 am »
Hi!

how can i set up a RenderWindow wich isn't resizeable. or wich keeps zue current display size, but shows more area?

when i resize the window with the mouse, the text gets blured... but i want it allways to be cristal clear.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Renderwindow with static size
« Reply #1 on: February 28, 2012, 08:08:17 am »
Quote
how can i set up a RenderWindow wich isn't resizeable

You can set its style (3rd argument of creation) accordingly.

Quote
or wich keeps zue current display size, but shows more area?

Resize the view to the new size of the window when you catch a Resized event.
Laurent Gomila - SFML developer