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

#include <slider.h>

Inheritance diagram for gridui::Slider:
gridui::Widget

Public Member Functions

void setColor (const std::string &color)
 
std::string color () const
 
void setFontSize (float fontSize)
 
float fontSize () const
 
void setMin (float min)
 
float min () const
 
void setMax (float max)
 
float max () const
 
void setValue (float value)
 
float value () const
 
void setPrecision (float precision)
 
float precision () const
 
void setShowValue (bool showValue)
 
bool showValue () 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 slider.h.

Member Function Documentation

◆ color()

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

Definition at line 20 of file slider.h.

◆ fontSize()

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

Definition at line 28 of file slider.h.

◆ max()

float gridui::Slider::max ( ) const
inline

Definition at line 44 of file slider.h.

◆ min()

float gridui::Slider::min ( ) const
inline

Definition at line 36 of file slider.h.

◆ precision()

float gridui::Slider::precision ( ) const
inline

Definition at line 60 of file slider.h.

◆ setColor()

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

Definition at line 16 of file slider.h.

◆ setFontSize()

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

Definition at line 24 of file slider.h.

◆ setMax()

void gridui::Slider::setMax ( float  max)
inline

Definition at line 40 of file slider.h.

◆ setMin()

void gridui::Slider::setMin ( float  min)
inline

Definition at line 32 of file slider.h.

◆ setPrecision()

void gridui::Slider::setPrecision ( float  precision)
inline

Definition at line 56 of file slider.h.

◆ setShowValue()

void gridui::Slider::setShowValue ( bool  showValue)
inline

Definition at line 64 of file slider.h.

◆ setValue()

void gridui::Slider::setValue ( float  value)
inline

Definition at line 48 of file slider.h.

◆ showValue()

bool gridui::Slider::showValue ( ) const
inline

Definition at line 68 of file slider.h.

◆ value()

float gridui::Slider::value ( ) const
inline

Definition at line 52 of file slider.h.

Friends And Related Symbol Documentation

◆ builder::BuilderMixin

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

Definition at line 11 of file slider.h.


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