Hello
I'm coding up a GUI library for sfml and I'm trying to make it work along with views and viewports.
Basically, I want an object of type Interface, which inherits from Transformable, to accept a view and then draw itself relative to that view.
Unfortunately, I can't seem to find a way to implement all of this... I've tried getting the transformation of the view with getTransform() and apply it to the transformation element of states before drawing, but it didn't work as I expected it too...
Thanks in advance for any help.