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

#include <slider.h>

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

Public Member Functions

Slidercolor (const std::string &color)
 
SliderfontSize (float fontSize)
 
Slidermin (float min)
 
Slidermax (float max)
 
Slidervalue (float value)
 
Sliderprecision (float precision)
 
SlidershowValue (bool showValue)
 
SlideronChanged (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< Slider, gridui::Slider >
Slidercss (const std::string &key, const std::string &value)
 
gridui::Slider finish ()
 

Friends

class gridui::_GridUi
 

Additional Inherited Members

- Public Types inherited from gridui::builder::BuilderMixin< Slider, gridui::Slider >
typedef std::function< void(gridui::Slider &)> 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< Slider, gridui::Slider >
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 slider.h.

Member Function Documentation

◆ color()

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

Definition at line 18 of file slider.h.

◆ fontSize()

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

Definition at line 23 of file slider.h.

◆ max()

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

Definition at line 33 of file slider.h.

◆ min()

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

Definition at line 28 of file slider.h.

◆ precision()

Slider & gridui::builder::Slider::precision ( float  precision)
inline

Definition at line 43 of file slider.h.

◆ showValue()

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

Definition at line 48 of file slider.h.

◆ value()

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

Definition at line 38 of file slider.h.

Friends And Related Symbol Documentation

◆ gridui::_GridUi

friend class gridui::_GridUi
friend

Definition at line 14 of file slider.h.


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