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

#include <bar.h>

Inheritance diagram for gridui::builder::Bar:
gridui::builder::Widget gridui::builder::BuilderMixin< Bar, gridui::Bar >

Public Member Functions

Barcolor (const std::string &color)
 
BarfontSize (float fontSize)
 
Barmin (float min)
 
Barmax (float max)
 
Barvalue (float value)
 
BarshowValue (bool showValue)
 
- Public Member Functions inherited from gridui::builder::Widget
 Widget (Widget &&o) noexcept
 
const char * widgetTypeName () const
 
- Public Member Functions inherited from gridui::builder::BuilderMixin< Bar, gridui::Bar >
Barcss (const std::string &key, const std::string &value)
 
gridui::Bar finish ()
 

Friends

class gridui::_GridUi
 

Additional Inherited Members

- Public Types inherited from gridui::builder::BuilderMixin< Bar, gridui::Bar >
typedef std::function< void(gridui::Bar &)> 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< Bar, gridui::Bar >
void addCallback (const std::string &name, const callback_t &cb)
 
- Protected Attributes inherited from gridui::builder::Widget
WidgetStatem_state
 

Detailed Description

Definition at line 11 of file bar.h.

Member Function Documentation

◆ color()

Bar & gridui::builder::Bar::color ( const std::string &  color)
inline

Definition at line 18 of file bar.h.

◆ fontSize()

Bar & gridui::builder::Bar::fontSize ( float  fontSize)
inline

Definition at line 23 of file bar.h.

◆ max()

Bar & gridui::builder::Bar::max ( float  max)
inline

Definition at line 33 of file bar.h.

◆ min()

Bar & gridui::builder::Bar::min ( float  min)
inline

Definition at line 28 of file bar.h.

◆ showValue()

Bar & gridui::builder::Bar::showValue ( bool  showValue)
inline

Definition at line 43 of file bar.h.

◆ value()

Bar & gridui::builder::Bar::value ( float  value)
inline

Definition at line 38 of file bar.h.

Friends And Related Symbol Documentation

◆ gridui::_GridUi

friend class gridui::_GridUi
friend

Definition at line 14 of file bar.h.


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