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

#include <text.h>

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

Public Member Functions

Texttext (const std::string &text)
 
TextfontSize (float fontSize)
 
Textcolor (const std::string &color)
 
Textbackground (const std::string &background)
 
Textalign (const std::string &align)
 
Textvalign (const std::string &valign)
 
Textprefix (const std::string &prefix)
 
Textsuffix (const std::string &suffix)
 
- Public Member Functions inherited from gridui::builder::Widget
 Widget (Widget &&o) noexcept
 
const char * widgetTypeName () const
 
- Public Member Functions inherited from gridui::builder::BuilderMixin< Text, gridui::Text >
Textcss (const std::string &key, const std::string &value)
 
gridui::Text finish ()
 

Friends

class gridui::_GridUi
 

Additional Inherited Members

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

Member Function Documentation

◆ align()

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

Definition at line 38 of file text.h.

◆ background()

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

Definition at line 33 of file text.h.

◆ color()

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

Definition at line 28 of file text.h.

◆ fontSize()

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

Definition at line 23 of file text.h.

◆ prefix()

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

Definition at line 48 of file text.h.

◆ suffix()

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

Definition at line 53 of file text.h.

◆ text()

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

Definition at line 18 of file text.h.

◆ valign()

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

Definition at line 43 of file text.h.

Friends And Related Symbol Documentation

◆ gridui::_GridUi

friend class gridui::_GridUi
friend

Definition at line 14 of file text.h.


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