![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "stage/model/expander-revealer.hpp"
Functor component to support the default implementation of revealing an UI-Element.
It is built based on a closure (lambda) detailing what actually to do in order to bring a given UI element into sight. A default constructed Revealer disables this feature, which can be detected through the canReveal() function.
Definition at line 147 of file expander-revealer.hpp.
Public Types | |
| using | RevealeItFun = std::function< void()> |
Public Member Functions | |
| Revealer () | |
| Revealer (RevealeItFun how_to_uncover_the_element) | |
| bool | canReveal () const |
| void | operator() () |
Private Attributes | |
| RevealeItFun | revealIt_ |
|
inline |
Definition at line 156 of file expander-revealer.hpp.
|
inline |
Definition at line 157 of file expander-revealer.hpp.
References Revealer::canReveal().
Here is the call graph for this function:| using RevealeItFun = std::function<void()> |
Definition at line 150 of file expander-revealer.hpp.
|
inline |
Definition at line 164 of file expander-revealer.hpp.
References Revealer::revealIt_.
Referenced by Revealer::Revealer(), Tangible::doReveal(), and Revealer::operator()().
Here is the caller graph for this function:
|
inline |
Definition at line 170 of file expander-revealer.hpp.
References Revealer::canReveal(), and Revealer::revealIt_.
Here is the call graph for this function:
|
private |
Definition at line 153 of file expander-revealer.hpp.
Referenced by Revealer::canReveal(), and Revealer::operator()().
Collaboration diagram for Revealer: