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

Author Topic: Window's Settings as a public member  (Read 3213 times)

0 Members and 1 Guest are viewing this topic.

bazukas

  • Newbie
  • *
  • Posts: 5
    • View Profile
Window's Settings as a public member
« on: June 07, 2012, 08:33:31 pm »
Hi. I've been meddling with SFML for some time now and I  faced a problem.

I want to be able to change the number of anti-aliasing samples and/or turn it off without having to destroy the current window and create a new one.  :-\

Is it possibly to do this with the current sfml release?
If not could the window settings be made a public member in a future release?
Thanks in advance.

--bazukas

P.S: BTW great library you've got here.  :D

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Window's Settings as a public member
« Reply #1 on: June 07, 2012, 08:42:26 pm »
It's not possible, you have to recreate the window.
Laurent Gomila - SFML developer

Foaly

  • Sr. Member
  • ****
  • Posts: 453
    • View Profile
Re: Window's Settings as a public member
« Reply #2 on: June 07, 2012, 09:08:48 pm »
Is it technically possible though? Because it would be a cool feature to toggle the full screen mode without having to create a new window.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Window's Settings as a public member
« Reply #3 on: June 07, 2012, 10:44:55 pm »
It is possible but... it would be complicated.
Laurent Gomila - SFML developer

bazukas

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Window's Settings as a public member
« Reply #4 on: June 07, 2012, 11:32:21 pm »
Thanks for the quick reply. You may close this thread.