Fixed silly typo in Screen docs + shorten lines a bit while at it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
bb274576a5
commit
a22c395f1f
@ -233,11 +233,11 @@ namespace GUIEngine
|
|||||||
virtual bool onEscapePressed() { return true; }
|
virtual bool onEscapePressed() { return true; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief will be called everytime sometimes happens.
|
* \brief will be called everytime something happens.
|
||||||
* Events are generally a widget state change. In this case, a pointer to the said widget is passed along its
|
* Events are generally a widget state change. In this case, a pointer to the said widget is
|
||||||
* name, so you get its new state and/or act. There are two special events, passed with a NULL widget, and which
|
* passed along its name, so you get its new state and/or act. There are two special events, passed
|
||||||
* bear the anmes "init" and "tearDown", called respectively when a screen is being made visible and when it's
|
* with a NULL widget, and which bear the anmes "init" and "tearDown", called respectively when a
|
||||||
* being left, allowing for setup/clean-up.
|
* screen is being made visible and when it's being left, allowing for setup/clean-up.
|
||||||
*/
|
*/
|
||||||
virtual void eventCallback(Widget* widget, const std::string& name, const int playerID) = 0;
|
virtual void eventCallback(Widget* widget, const std::string& name, const int playerID) = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user