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 - Loronix

Pages: [1]
1
Graphics / Resizing Question
« on: November 30, 2011, 10:16:20 pm »
I've got a RenderWindow that includes a button object and the class of that object inherits from sf::Sprite (this is probably not the right way  to do it, but it seemed more convenient). Anyway, the window is resizable, but when I resize the window the button image is automatically scaled, but the button position and such do not seem to change, making the clickable button out of sync from the actual sprite. I was wondering how I would go about fixing this.

I'm somewhat of a beginner, so don't expect me to understand all of the infinite complexities of C++, as I still have a lot to learn.

Thanks in advance.

Pages: [1]
anything