Go to the documentation of this file.
23 template<
typename GetT,
typename Callback>
32 "Checkbox element getter callback must return a boolean");
42 template<
typename GetT,
typename Callback>
43 auto Checkbox(
const std::string & name, GetT get_fn, Callback cb)
49 inline auto Checkbox(
const std::string & name,
bool & value)
CheckboxImpl(const std::string &name, GetT get_fn, Callback cb)
Definition: Checkbox.h:28
static constexpr auto type
Definition: Checkbox.h:26
auto read(const T &&value)
Definition: traits.h:188
CheckboxImpl()
Definition: Checkbox.h:36
Definition: elements.h:104
auto Checkbox(const std::string &name, GetT get_fn, Callback cb)
Definition: Checkbox.h:43
Definition: elements.h:183
Definition: Checkbox.h:24
Definition: Observer.h:15
const std::string & name() const
Definition: elements.h:61