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

Pages: [1]
1
Graphics / Drawing from class
« on: December 23, 2011, 03:04:27 pm »
Hi, first post on forum ;)

I've choosed SFML for maze project. I would like to make a GUI class, but i'm not sure if i can draw sprites on RenderWindows from other files than one with RenderWindow declaration.

For example, is it possible to make a function like GUI->Check(int x, int y), where x,y - mouse position, which would check mouseover effects, and draw the right Sprites on window?

Regards - Veri

Pages: [1]