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

#include <gridui.h>

Public Member Functions

 _GridUi ()
 
 ~_GridUi ()
 
void begin (rb::Protocol *protocol, int cols=12, int rows=18, bool enableSplitting=true)
 
rb::Protocol * begin (const char *owner, const char *deviceName)
 
rb::Protocol * beginConnect (const char *owner, const char *deviceName, const char *wifiSSID, const char *wifiPassword="")
 
rb::Protocol * beginStartAp (const char *owner, const char *deviceName, const char *wifiSSID, const char *wifiPassword="", bool withCaptivePortal=true)
 
void commit ()
 
void end ()
 
bool handleRbPacket (const std::string &command, rbjson::Object *pkt)
 
rb::Protocol * protocol () const
 
void changeTab (uint16_t index)
 
builder::Armarm (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::Barbar (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::Buttonbutton (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::Cameracamera (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::Checkboxcheckbox (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::Circlecircle (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::Inputinput (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::Joystickjoystick (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::Ledled (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::Orientationorientation (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::Sliderslider (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::SpinEditspinedit (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::Switcherswitcher (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::Texttext (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
builder::Selectselect (float x, float y, float w, float h, uint16_t uuid=0, uint16_t tab=0)
 
template<typename T >
T * newWidget (float x, float y, float w, float h, uint16_t uuid, uint16_t tab)
 

Friends

class WidgetState
 

Detailed Description

Definition at line 42 of file gridui.h.

Constructor & Destructor Documentation

◆ _GridUi()

gridui::_GridUi::_GridUi ( )

Definition at line 51 of file gridui.cpp.

◆ ~_GridUi()

gridui::_GridUi::~_GridUi ( )

Definition at line 60 of file gridui.cpp.

Member Function Documentation

◆ arm()

builder::Arm & gridui::_GridUi::arm ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 86 of file gridui.h.

◆ bar()

builder::Bar & gridui::_GridUi::bar ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 90 of file gridui.h.

◆ begin() [1/2]

rb::Protocol * gridui::_GridUi::begin ( const char *  owner,
const char *  deviceName 
)

Definition at line 79 of file gridui.cpp.

◆ begin() [2/2]

void gridui::_GridUi::begin ( rb::Protocol *  protocol,
int  cols = 12,
int  rows = 18,
bool  enableSplitting = true 
)

Definition at line 63 of file gridui.cpp.

◆ beginConnect()

rb::Protocol * gridui::_GridUi::beginConnect ( const char *  owner,
const char *  deviceName,
const char *  wifiSSID,
const char *  wifiPassword = "" 
)

Definition at line 99 of file gridui.cpp.

◆ beginStartAp()

rb::Protocol * gridui::_GridUi::beginStartAp ( const char *  owner,
const char *  deviceName,
const char *  wifiSSID,
const char *  wifiPassword = "",
bool  withCaptivePortal = true 
)

Definition at line 104 of file gridui.cpp.

◆ button()

builder::Button & gridui::_GridUi::button ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 94 of file gridui.h.

◆ camera()

builder::Camera & gridui::_GridUi::camera ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 98 of file gridui.h.

◆ changeTab()

void gridui::_GridUi::changeTab ( uint16_t  index)

Definition at line 267 of file gridui.cpp.

◆ checkbox()

builder::Checkbox & gridui::_GridUi::checkbox ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 102 of file gridui.h.

◆ circle()

builder::Circle & gridui::_GridUi::circle ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 106 of file gridui.h.

◆ commit()

void gridui::_GridUi::commit ( )

Definition at line 161 of file gridui.cpp.

◆ end()

void gridui::_GridUi::end ( )

Definition at line 122 of file gridui.cpp.

◆ handleRbPacket()

bool gridui::_GridUi::handleRbPacket ( const std::string &  command,
rbjson::Object *  pkt 
)

Definition at line 234 of file gridui.cpp.

◆ input()

builder::Input & gridui::_GridUi::input ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 110 of file gridui.h.

◆ joystick()

builder::Joystick & gridui::_GridUi::joystick ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 114 of file gridui.h.

◆ led()

builder::Led & gridui::_GridUi::led ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 118 of file gridui.h.

◆ newWidget()

template<typename T >
T * gridui::_GridUi::newWidget ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid,
uint16_t  tab 
)
inline

Definition at line 151 of file gridui.h.

◆ orientation()

builder::Orientation & gridui::_GridUi::orientation ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 122 of file gridui.h.

◆ protocol()

rb::Protocol * gridui::_GridUi::protocol ( ) const
inline

Definition at line 82 of file gridui.h.

◆ select()

builder::Select & gridui::_GridUi::select ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 146 of file gridui.h.

◆ slider()

builder::Slider & gridui::_GridUi::slider ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 126 of file gridui.h.

◆ spinedit()

builder::SpinEdit & gridui::_GridUi::spinedit ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 130 of file gridui.h.

◆ switcher()

builder::Switcher & gridui::_GridUi::switcher ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 134 of file gridui.h.

◆ text()

builder::Text & gridui::_GridUi::text ( float  x,
float  y,
float  w,
float  h,
uint16_t  uuid = 0,
uint16_t  tab = 0 
)
inline

Definition at line 142 of file gridui.h.

Friends And Related Symbol Documentation

◆ WidgetState

friend class WidgetState
friend

Definition at line 43 of file gridui.h.


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