Lumiera  0.pre.03
»edit your freedom«
Revealer Class Reference

#include "stage/model/expander-revealer.hpp"

Description

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 156 of file expander-revealer.hpp.

Public Types

using RevealeItFun = std::function< void()>
 

Public Member Functions

 Revealer (RevealeItFun how_to_uncover_the_element)
 
bool canReveal () const
 
void operator() ()
 

Private Attributes

RevealeItFun revealIt_
 
+ Collaboration diagram for Revealer:

The documentation for this class was generated from the following file: