Esp32-RBGridUI
Library for creating UIs for the RBController app
|
#include <joystick.h>
Public Member Functions | |
Joystick & | color (const std::string &color) |
Joystick & | keys (const std::string &keys) |
Joystick & | text (const std::string &text) |
Joystick & | keys (char forward, char left, char backwards, char right, char click=0) |
Joystick & | onClick (callback_t cb) |
Joystick & | onPositionChanged (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< Joystick, gridui::Joystick > | |
Joystick & | css (const std::string &key, const std::string &value) |
gridui::Joystick | finish () |
Friends | |
class | gridui::_GridUi |
Additional Inherited Members | |
Public Types inherited from gridui::builder::BuilderMixin< Joystick, gridui::Joystick > | |
typedef std::function< void(gridui::Joystick &)> | 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< Joystick, gridui::Joystick > | |
void | addCallback (const std::string &name, const callback_t &cb) |
Protected Attributes inherited from gridui::builder::Widget | |
WidgetState & | m_state |
Definition at line 11 of file joystick.h.
|
inline |
Definition at line 18 of file joystick.h.
|
inline |
Definition at line 33 of file joystick.h.
|
inline |
Definition at line 23 of file joystick.h.
|
inline |
Definition at line 28 of file joystick.h.
|
friend |
Definition at line 14 of file joystick.h.