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

#include <widget.h>

Public Member Functions

 WidgetState (uint16_t uuid, float x, float y, float w, float h, uint16_t tab)
 
uint16_t uuid () const
 
const rbjson::Object & data () const
 
bool set (const std::string &key, rbjson::Value *value)
 
bool setInnerObjectProp (const std::string &objectName, const std::string &propertyName, rbjson::Value *value)
 
void markChanged (const std::string &key)
 

Friends

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

Detailed Description

Definition at line 68 of file widget.h.

Constructor & Destructor Documentation

◆ WidgetState()

gridui::WidgetState::WidgetState ( uint16_t  uuid,
float  x,
float  y,
float  w,
float  h,
uint16_t  tab 
)

Definition at line 13 of file widget.cpp.

Member Function Documentation

◆ data()

const rbjson::Object & gridui::WidgetState::data ( ) const
inline

Definition at line 79 of file widget.h.

◆ markChanged()

void gridui::WidgetState::markChanged ( const std::string &  key)

Definition at line 120 of file widget.cpp.

◆ set()

bool gridui::WidgetState::set ( const std::string &  key,
rbjson::Value *  value 
)

Definition at line 25 of file widget.cpp.

◆ setInnerObjectProp()

bool gridui::WidgetState::setInnerObjectProp ( const std::string &  objectName,
const std::string &  propertyName,
rbjson::Value *  value 
)

Definition at line 42 of file widget.cpp.

◆ uuid()

uint16_t gridui::WidgetState::uuid ( ) const
inline

Definition at line 78 of file widget.h.

Friends And Related Symbol Documentation

◆ builder::BuilderMixin

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

Definition at line 73 of file widget.h.

◆ gridui::_GridUi

friend class gridui::_GridUi
friend

Definition at line 70 of file widget.h.

◆ gridui::builder::Widget

friend class gridui::builder::Widget
friend

Definition at line 69 of file widget.h.


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