SFML community forums

Help => Graphics => Topic started by: Fierce_Dutch on April 18, 2011, 10:01:54 pm

Title: GetEvent() Deprecated? - SFML 2
Post by: Fierce_Dutch 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?
Title: GetEvent() Deprecated? - SFML 2
Post by: Laurent 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.
Title: GetEvent() Deprecated? - SFML 2
Post by: Fierce_Dutch 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.
Title: Just gonna borrow this thread a little..
Post by: Haikarainen 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)
Title: GetEvent() Deprecated? - SFML 2
Post by: Nexus on April 23, 2011, 10:29:11 pm
You can see the remaining tasks for SFML 2.0 on the task tracker (https://github.com/SFML/SFML/issues).
Title: GetEvent() Deprecated? - SFML 2
Post by: Laurent on April 23, 2011, 10:29:32 pm
Quote
When will SFML2.0 officially be released?

When it's ready ;)
Title: GetEvent() Deprecated? - SFML 2
Post by: asdatapel 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?