Esp32-RBGridUI
Library for creating UIs for the RBController app
Loading...
Searching...
No Matches
builder
camera.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "../widgets/camera.h"
4
#include "
widget.h
"
5
6
namespace
gridui
{
7
namespace
builder {
8
11
class
Camera
:
public
Widget
,
public
BuilderMixin
<Camera, gridui::Camera> {
12
static
const
char
* name() {
return
"Camera"
; }
13
14
friend
class
gridui::_GridUi
;
15
using
Widget::Widget
;
16
17
public
:
18
Camera
&
rotation
(
float
rotation
) {
19
extra
().set(
"rotation"
,
rotation
);
20
return
*
this
;
21
}
22
23
Camera
&
clip
(
bool
clip
) {
24
extra
().set(
"clip"
,
new
rbjson::Bool(
clip
));
25
return
*
this
;
26
}
27
};
28
29
};
30
};
gridui::Widget::Widget
Widget()
Definition
widget.h:180
gridui::_GridUi
Definition
gridui.h:42
gridui::builder::BuilderMixin
Definition
widget.h:33
gridui::builder::Camera
Definition
camera.h:11
gridui::builder::Camera::clip
Camera & clip(bool clip)
Definition
camera.h:23
gridui::builder::Camera::rotation
Camera & rotation(float rotation)
Definition
camera.h:18
gridui::builder::Widget
Definition
widget.h:74
gridui::builder::Widget::extra
rbjson::Object & extra()
Definition
widget.cpp:16
gridui
Definition
arm.h:8
widget.h
Generated on Tue Jul 9 2024 10:04:33 for Esp32-RBGridUI by
1.9.8