Added 'isVisible' method.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
580ab70001
commit
946526662a
@ -289,6 +289,9 @@ namespace GUIEngine
|
||||
* undefined behavior may ensue (like invisible but clickable buttons).
|
||||
*/
|
||||
void setVisible(bool visible);
|
||||
|
||||
/** Returns if the element is visible. */
|
||||
bool isVisible() const {return m_element && m_element->isVisible(); }
|
||||
|
||||
/**
|
||||
* Call to resize/move the widget. Not all widgets can resize gracefully.
|
||||
|
Loading…
x
Reference in New Issue
Block a user