Esp32-RBGridUI
Library for creating UIs for the RBController app
Loading...
Searching...
No Matches
gridui::WidgetPos Class Reference

#include <widget.h>

Public Member Functions

 WidgetPos (uint32_t encoded)
 
 WidgetPos (float x, float y, float w, float h)
 
uint32_t encoded () const
 
float x () const
 
float y () const
 
float w () const
 
float h () const
 
WidgetPossetX (float x)
 
WidgetPossetY (float y)
 
WidgetPossetW (float w)
 
WidgetPossetH (float h)
 

Detailed Description

Definition at line 63 of file widget.h.

Constructor & Destructor Documentation

◆ WidgetPos() [1/2]

gridui::WidgetPos::WidgetPos ( uint32_t encoded)
inline

Definition at line 75 of file widget.h.

◆ WidgetPos() [2/2]

gridui::WidgetPos::WidgetPos ( float x,
float y,
float w,
float h )
inline

Definition at line 78 of file widget.h.

Member Function Documentation

◆ encoded()

uint32_t gridui::WidgetPos::encoded ( ) const
inline

Definition at line 84 of file widget.h.

◆ h()

float gridui::WidgetPos::h ( ) const
inline

Definition at line 88 of file widget.h.

◆ setH()

WidgetPos & gridui::WidgetPos::setH ( float h)
inline

Definition at line 92 of file widget.h.

◆ setW()

WidgetPos & gridui::WidgetPos::setW ( float w)
inline

Definition at line 91 of file widget.h.

◆ setX()

WidgetPos & gridui::WidgetPos::setX ( float x)
inline

Definition at line 89 of file widget.h.

◆ setY()

WidgetPos & gridui::WidgetPos::setY ( float y)
inline

Definition at line 90 of file widget.h.

◆ w()

float gridui::WidgetPos::w ( ) const
inline

Definition at line 87 of file widget.h.

◆ x()

float gridui::WidgetPos::x ( ) const
inline

Definition at line 85 of file widget.h.

◆ y()

float gridui::WidgetPos::y ( ) const
inline

Definition at line 86 of file widget.h.

Field Documentation

◆ _encoded

uint32_t gridui::WidgetPos::_encoded

Definition at line 65 of file widget.h.

◆ _h

uint8_t gridui::WidgetPos::_h

Definition at line 70 of file widget.h.

◆ _w

uint8_t gridui::WidgetPos::_w

Definition at line 69 of file widget.h.

◆ _x

uint8_t gridui::WidgetPos::_x

Definition at line 67 of file widget.h.

◆ _y

uint8_t gridui::WidgetPos::_y

Definition at line 68 of file widget.h.


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