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

#include <widget.h>

Inheritance diagram for gridui::builder::Widget:
gridui::builder::Arm gridui::builder::Bar gridui::builder::Button gridui::builder::Camera gridui::builder::Checkbox gridui::builder::Circle gridui::builder::Input gridui::builder::Joystick gridui::builder::Led gridui::builder::Orientation gridui::builder::Select gridui::builder::Slider gridui::builder::SpinEdit gridui::builder::Switcher gridui::builder::Text

Public Member Functions

 Widget (Widget &&o) noexcept
 
const char * widgetTypeName () const
 

Protected Member Functions

 Widget (const char *type, WidgetState &state)
 
void serialize (std::ostream &ss)
 
rbjson::Object & extra ()
 
rbjson::Object & style ()
 

Protected Attributes

WidgetStatem_state
 

Friends

class gridui::_GridUi
 
template<typename Self , typename Finished >
class BuilderMixin
 

Detailed Description

Definition at line 74 of file widget.h.

Constructor & Destructor Documentation

◆ Widget() [1/2]

gridui::builder::Widget::Widget ( Widget &&  o)
noexcept

◆ Widget() [2/2]

gridui::builder::Widget::Widget ( const char *  type,
WidgetState state 
)
protected

Definition at line 11 of file widget.cpp.

Member Function Documentation

◆ extra()

rbjson::Object & gridui::builder::Widget::extra ( )
protected

Definition at line 16 of file widget.cpp.

◆ serialize()

void gridui::builder::Widget::serialize ( std::ostream &  ss)
protected

Definition at line 29 of file widget.cpp.

◆ style()

rbjson::Object & gridui::builder::Widget::style ( )
protected

Definition at line 20 of file widget.cpp.

◆ widgetTypeName()

const char * gridui::builder::Widget::widgetTypeName ( ) const
inline

Definition at line 83 of file widget.h.

Friends And Related Symbol Documentation

◆ BuilderMixin

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

Definition at line 78 of file widget.h.

◆ gridui::_GridUi

friend class gridui::_GridUi
friend

Definition at line 75 of file widget.h.

Field Documentation

◆ m_state

WidgetState& gridui::builder::Widget::m_state
protected

Definition at line 93 of file widget.h.


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