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

#include <text.h>

Inheritance diagram for gridui::Text:
gridui::Widget

Public Member Functions

void setText (const std::string &text)
 
std::string text () const
 
void setFontSize (float fontSize)
 
float fontSize () const
 
void setColor (const std::string &color)
 
std::string color () const
 
void setBackground (const std::string &background)
 
std::string background () const
 
void setAlign (const std::string &align)
 
std::string align () const
 
void setValign (const std::string &valign)
 
std::string valign () const
 
void setPrefix (const std::string &prefix)
 
std::string prefix () const
 
void setSuffix (const std::string &suffix)
 
std::string suffix () const
 
void setNumber (float number)
 
- 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 text.h.

Member Function Documentation

◆ align()

std::string gridui::Text::align ( ) const
inline

Definition at line 52 of file text.h.

◆ background()

std::string gridui::Text::background ( ) const
inline

Definition at line 44 of file text.h.

◆ color()

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

Definition at line 36 of file text.h.

◆ fontSize()

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

Definition at line 28 of file text.h.

◆ prefix()

std::string gridui::Text::prefix ( ) const
inline

Definition at line 68 of file text.h.

◆ setAlign()

void gridui::Text::setAlign ( const std::string &  align)
inline

Definition at line 48 of file text.h.

◆ setBackground()

void gridui::Text::setBackground ( const std::string &  background)
inline

Definition at line 40 of file text.h.

◆ setColor()

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

Definition at line 32 of file text.h.

◆ setFontSize()

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

Definition at line 24 of file text.h.

◆ setNumber()

void gridui::Text::setNumber ( float  number)
inline

Definition at line 80 of file text.h.

◆ setPrefix()

void gridui::Text::setPrefix ( const std::string &  prefix)
inline

Definition at line 64 of file text.h.

◆ setSuffix()

void gridui::Text::setSuffix ( const std::string &  suffix)
inline

Definition at line 72 of file text.h.

◆ setText()

void gridui::Text::setText ( const std::string &  text)
inline

Definition at line 16 of file text.h.

◆ setValign()

void gridui::Text::setValign ( const std::string &  valign)
inline

Definition at line 56 of file text.h.

◆ suffix()

std::string gridui::Text::suffix ( ) const
inline

Definition at line 76 of file text.h.

◆ text()

std::string gridui::Text::text ( ) const
inline

Definition at line 20 of file text.h.

◆ valign()

std::string gridui::Text::valign ( ) const
inline

Definition at line 60 of file text.h.

Friends And Related Symbol Documentation

◆ builder::BuilderMixin

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

Definition at line 11 of file text.h.


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