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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Atreyu

Pages: [1]
1
Window / Close() is not a member of Class Window?
« on: August 01, 2008, 10:23:33 am »
The tutorial said "Version 1.3"

So.. sorry then...

2
Window / Close() is not a member of Class Window?
« 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 site, I ran into problems. At the lines:

Code: [Select]
while (App.IsOpened())

and

Code: [Select]
  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:
Code: [Select]
sf::Window App(sf::VideoMode(800, 600, 32), "SFML Events");

Why?

Pages: [1]
anything