SFML community forums
Help => Window => Topic started by: Atreyu on August 01, 2008, 08:33:47 am
-
Hi there!
Well, I was looking around in the tutorial, created some Threads (System Package) and opened a window. Worked fine. But then on the handling events (http://www.sfml-dev.org/tutorials/1.3/window-events.php) site, I ran into problems. At the lines:
while (App.IsOpened())
and
App.Close();
I get the message:
C:\Projects\sfml\sfml_test\main.cpp|23|error: 'class sf::Window' has no member named 'IsOpened'|
(the same to App.Close)
I created the window with this line:
sf::Window App(sf::VideoMode(800, 600, 32), "SFML Events");
Why?
-
Because you're using an old version of SFML (current one is 1.3) ?
-
The tutorial said "Version 1.3"
So.. sorry then...
-
Yes, version 1.3 has these functions, that's why I think you're actually using an old version.