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

Author Topic: GetEvent() Deprecated? - SFML 2  (Read 12752 times)

0 Members and 1 Guest are viewing this topic.

Fierce_Dutch

  • Full Member
  • ***
  • Posts: 138
    • View Profile
GetEvent() Deprecated? - SFML 2
« on: April 18, 2011, 10:01:54 pm »
Well after I updated my repo and re-built SFML I noticed that there was no GetEvent() function because when I tried to build my project I got this:

class sf::RenderWindow’ has no member named ‘GetEvent’

Could someone please help me out here?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
GetEvent() Deprecated? - SFML 2
« Reply #1 on: April 18, 2011, 10:31:00 pm »
Indeed... SFML is constantly changing, the doc is not always up-to-date, so look at headers to know what has changed ;)

GetEvent is now PollEvent.
Laurent Gomila - SFML developer

Fierce_Dutch

  • Full Member
  • ***
  • Posts: 138
    • View Profile
GetEvent() Deprecated? - SFML 2
« Reply #2 on: April 18, 2011, 11:05:42 pm »
Quote from: "Laurent"
Indeed... SFML is constantly changing, the doc is not always up-to-date, so look at headers to know what has changed ;)

GetEvent is now PollEvent.


Ok thanks! I checked there when it first popped up but it wasn't changed yet so that was my problem.

Haikarainen

  • Guest
Just gonna borrow this thread a little..
« Reply #3 on: April 23, 2011, 10:18:54 pm »
.. When will SFML2.0 officially be released? How much stuff do you have left to change ?

Im using 2.0 in my development atm, and i really love a lot about it compared to before (Especially how you converted rects from top left right bottom to position and size, so much easier to wrap your head around)

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
GetEvent() Deprecated? - SFML 2
« Reply #4 on: April 23, 2011, 10:29:11 pm »
You can see the remaining tasks for SFML 2.0 on the task tracker.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
GetEvent() Deprecated? - SFML 2
« Reply #5 on: April 23, 2011, 10:29:32 pm »
Quote
When will SFML2.0 officially be released?

When it's ready ;)
Laurent Gomila - SFML developer

asdatapel

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
GetEvent() Deprecated? - SFML 2
« Reply #6 on: September 08, 2011, 04:59:30 am »
hi guys. I just started using vs 2010 with sfml 2, and I use VassistX becuase I pretty much cant code without it. Anyway, the code completion shows App.GetInput, but not PollEvent. However only PollEvent compiles. Is there some knid of doc that you guys have to update for VAssistX to see the real functions?