Add clarifiction to GUIEngine docs

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-04-12 19:44:58 +00:00
parent 8c096136e7
commit ae5b4c750d

View File

@ -535,6 +535,11 @@
currently added to the screen). Of course, in some circumstances, the check can be skipped because the currently added to the screen). Of course, in some circumstances, the check can be skipped because the
widget is known to be currently visible. widget is known to be currently visible.
VERY IMPORTANT: some methods should only be called before Screen::init, and some methods should only be
called after Screen::init. Unfortunately the documentation does not always make this clear at this point :(
A good hint is that methods that make calls on a IGUIElement* need to be called after init(), the others
needs to be called before.
\subsection Screen Screen \subsection Screen Screen