SFML community forums
Help => Graphics => Topic started by: mimipim on April 16, 2011, 04:53:39 pm
-
I don't see anything in doc about how to get current renderer window style.
I can do it without this function but will be better if there are.
In case there are some function or way to get the style someone tell me or even if there none again tell me so I know is there or not.
-
There's no function to get the style of a window.
-
Okay Laurent. I will ask one more thing instend of opening new topic.
Theres no function to get frame limit of renderer window.
Q: Is wrong or dangerous if I write it myself like this:
in Window.hpp I write function:
unsigned int GetFrameLimit() {return myFramerateLimit;}
It's working perfect, but is this correct? I'm using static library if it is important.
-
Yes it's correct. But do you really need to modify SFML for this? Can't you just store it on your side?
-
Yes I can, but I don't like to have lot of variables outside of objects.