Note that it usually works badly to pass the modal screen already as parent when creating\r
a new element. It's better to add that new element later to the modal screen with addChild.\r
\param parent Parent gui element of the modal.\r
+ \param blinkMode Bitset of when to blink (can be combined)\r
+ 0 = never\r
+ 1 = focus changes\r
+ 2 = Left mouse button pressed down\r
\return Pointer to the created modal. Returns 0 if an error occurred.\r
This pointer should not be dropped. See IReferenceCounted::drop() for\r
more information. */\r
- virtual IGUIElement* addModalScreen(IGUIElement* parent) = 0;\r
+ virtual IGUIElement* addModalScreen(IGUIElement* parent, int blinkMode = 3) = 0;\r
\r
//! Adds a message box.\r
/** \param caption Text to be displayed the title of the message box.\r