Esp32-RBGridUI
Library for creating UIs for the RBController app
Loading...
Searching...
No Matches
camera.h
Go to the documentation of this file.
1#pragma once
2
3#include "../widgets/camera.h"
4#include "widget.h"
5
6namespace gridui {
7namespace builder {
8
11class 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
17public:
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};
Camera & clip(bool clip)
Definition camera.h:23
Camera & rotation(float rotation)
Definition camera.h:18
rbjson::Object & extra()
Definition widget.cpp:16
Definition arm.h:8