Esp32-RBGridUI
Library for creating UIs for the RBController app
|
#include <checkbox.h>
Public Member Functions | |
Checkbox & | fontSize (float fontSize) |
Checkbox & | checked (bool checked) |
Checkbox & | color (const std::string &color) |
Checkbox & | text (const std::string &text) |
Checkbox & | onChanged (callback_t cb) |
Public Member Functions inherited from gridui::builder::Widget | |
Widget (Widget &&o) noexcept | |
const char * | widgetTypeName () const |
Public Member Functions inherited from gridui::builder::BuilderMixin< Checkbox, gridui::Checkbox > | |
Checkbox & | css (const std::string &key, const std::string &value) |
gridui::Checkbox | finish () |
Friends | |
class | gridui::_GridUi |
Additional Inherited Members | |
Public Types inherited from gridui::builder::BuilderMixin< Checkbox, gridui::Checkbox > | |
typedef std::function< void(gridui::Checkbox &)> | callback_t |
Protected Member Functions inherited from gridui::builder::Widget | |
Widget (const char *type, WidgetState &state) | |
void | serialize (std::ostream &ss) |
rbjson::Object & | extra () |
rbjson::Object & | style () |
Protected Member Functions inherited from gridui::builder::BuilderMixin< Checkbox, gridui::Checkbox > | |
void | addCallback (const std::string &name, const callback_t &cb) |
Protected Attributes inherited from gridui::builder::Widget | |
WidgetState & | m_state |
Definition at line 11 of file checkbox.h.
|
inline |
Definition at line 23 of file checkbox.h.
|
inline |
Definition at line 28 of file checkbox.h.
|
inline |
Definition at line 18 of file checkbox.h.
|
inline |
Definition at line 33 of file checkbox.h.
|
friend |
Definition at line 14 of file checkbox.h.