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

Author Topic: Making sf::RenderWindow fullscreen?  (Read 2553 times)

0 Members and 1 Guest are viewing this topic.

Ricky

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
    • Tejada
    • Email
Making sf::RenderWindow fullscreen?
« on: July 18, 2014, 05:27:03 am »
To my knowledge there isn't any other way to fullscreen a window but to completely destroy it and create a new one with the sf::Style::Fullscreen flag set.

Is this really the only way to do it?
Wilt thou yet say before him that slayeth thee, I am God? but thou shalt be a man, and no God, in the hand of him that slayeth thee.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10801
    • View Profile
    • development blog
    • Email
AW: Making sf::RenderWindow fullscreen?
« Reply #1 on: July 18, 2014, 07:25:25 am »
Yes.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Making sf::RenderWindow fullscreen?
« Reply #2 on: July 18, 2014, 08:41:21 am »
just so there is no misunderstanding:
Quote
completely destroy it and create
doesn't imply pointer/new/whatsoever.. simply using the create function.
SFML / OS X developer

Ricky

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
    • Tejada
    • Email
Re: Making sf::RenderWindow fullscreen?
« Reply #3 on: July 18, 2014, 04:59:59 pm »
just so there is no misunderstanding:
Quote
completely destroy it and create
doesn't imply pointer/new/whatsoever.. simply using the create function.

I just learned that I could use the create function last night! No more delete/new for me :D
Wilt thou yet say before him that slayeth thee, I am God? but thou shalt be a man, and no God, in the hand of him that slayeth thee.