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.


Topics - Nyrox

Pages: [1]
1
So today I was working on GUI code and I was wondering why not let sf::Event hold a reference to the window that it was caused in? I think this is a small change that can make a great improvement, as having to pass a window around everytime you wanna map mouse coordinates is quite the bother.

What do you think? :)

Props
Mark

2
Graphics / Issues with Text objects in classes
« on: November 19, 2014, 11:24:04 pm »
Hello(?)

I am having a problem with sf::Text object in classes, I was able to break the problem down to this: http://hastebin.com/ofeyozesay.avrasm

Just the pure fact that I make a call to .setString makes the program crash at TestClass::draw, because of access violation.
Callstack comes down to win.draw(testShape) in TestClass.

OS: Win7
I am using SFML 2.1 with dynamic linking

Thanks for helping.

Pages: [1]
anything