Esp32-RBGridUI
Library for creating UIs for the RBController app
Loading...
Searching...
No Matches
Public Member Functions | Friends
gridui::Checkbox Class Reference

#include <checkbox.h>

Inheritance diagram for gridui::Checkbox:
gridui::Widget

Public Member Functions

void setFontSize (float fontSize)
 
float fontSize () const
 
void setChecked (bool checked)
 
bool checked () const
 
void setColor (const std::string &color)
 
std::string color () const
 
void setText (const std::string &text)
 
std::string text () const
 
- Public Member Functions inherited from gridui::Widget
 Widget ()
 
 Widget (const Widget &&o)
 
 Widget (const Widget &o)
 
Widgetoperator= (const Widget &&o)
 
bool hasRegisteredCallbacks () const
 
uint16_t uuid () const
 
void setWidgetX (float val)
 
float widgetX () const
 
void setWidgetY (float val)
 
float widgetY () const
 
void setWidgetW (float val)
 
float widgetW () const
 
void setWidgetH (float val)
 
float widgetH () const
 
void setWidgetTab (uint16_t tab)
 
uint16_t widgetTab () const
 
void setCss (const std::string &propertyName, const std::string &value)
 
std::string css (const std::string &propertyName) const
 

Friends

template<typename Self , typename Finished >
class builder::BuilderMixin
 

Additional Inherited Members

- Protected Member Functions inherited from gridui::Widget
 Widget (WidgetState *state)
 
Widgetoperator= (const Widget &)=delete
 
const rbjson::Object & data () const
 
- Protected Attributes inherited from gridui::Widget
WidgetStatem_state
 

Detailed Description

Definition at line 9 of file checkbox.h.

Member Function Documentation

◆ checked()

bool gridui::Checkbox::checked ( ) const
inline

Definition at line 28 of file checkbox.h.

◆ color()

std::string gridui::Checkbox::color ( ) const
inline

Definition at line 36 of file checkbox.h.

◆ fontSize()

float gridui::Checkbox::fontSize ( ) const
inline

Definition at line 20 of file checkbox.h.

◆ setChecked()

void gridui::Checkbox::setChecked ( bool  checked)
inline

Definition at line 24 of file checkbox.h.

◆ setColor()

void gridui::Checkbox::setColor ( const std::string &  color)
inline

Definition at line 32 of file checkbox.h.

◆ setFontSize()

void gridui::Checkbox::setFontSize ( float  fontSize)
inline

Definition at line 16 of file checkbox.h.

◆ setText()

void gridui::Checkbox::setText ( const std::string &  text)
inline

Definition at line 40 of file checkbox.h.

◆ text()

std::string gridui::Checkbox::text ( ) const
inline

Definition at line 44 of file checkbox.h.

Friends And Related Symbol Documentation

◆ builder::BuilderMixin

template<typename Self , typename Finished >
friend class builder::BuilderMixin
friend

Definition at line 11 of file checkbox.h.


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