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

Author Topic: Is it possible to hide the border of a RenderWindow?  (Read 2256 times)

0 Members and 1 Guest are viewing this topic.

steven_g

  • Newbie
  • *
  • Posts: 7
    • View Profile
Is it possible to hide the border of a RenderWindow?
« on: March 31, 2016, 04:00:15 am »
In a game I'm making, I want to be able to go completely full screen, with no borders (title panel, etc) and still be able to use the render window however I want. The windows tray would be fine left alone, it's just the border I'm interested in really. I know it wouldn't make that much difference, but it would be much better for my game if this was possible. Also would it be possible to do this if you created the window using openGL directly, and then modifying it from there? Any advice would be appreciated.

G.

  • Hero Member
  • *****
  • Posts: 1592
    • View Profile
Re: Is it possible to hide the border of a RenderWindow?
« Reply #1 on: March 31, 2016, 04:24:29 am »
Do you mean sf::Style::None? Or sf::Style::Fullscreen?
First window tutorial.

 

anything