Lumiera
0.pre.03
»edit your freedom«
|
#include "stage/model/expander-revealer.hpp"
Functor component to support the default implementation of expanding/collapsing.
It is built based on closures (lambdas) to explicate how to detect the expansion state of the widget in question and how actively to expand or collapse it. A default constructed Expander disables this feature – which can be detected through the #canExpand() function.
Definition at line 85 of file expander-revealer.hpp.
Public Types | |
using | ChangeFun = std::function< void(bool)> |
using | ProbeFun = std::function< bool(void)> |
Private Attributes | |
ChangeFun | changeState_ |
ProbeFun | probeState_ |