Lagrange
default_events.h
1/*
2 * Copyright 2021 Adobe. All rights reserved.
3 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License. You may obtain a copy
5 * of the License at http://www.apache.org/licenses/LICENSE-2.0
6 *
7 * Unless required by applicable law or agreed to in writing, software distributed under
8 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9 * OF ANY KIND, either express or implied. See the License for the specific language
10 * governing permissions and limitations under the License.
11 */
12#pragma once
13
14#include <lagrange/ui/Entity.h>
15#include <string>
16
17
22
23namespace lagrange {
24namespace ui {
25
26
28{
29 int width, height;
30};
31
33{
34};
35
37{
38 int count;
39 const char** paths;
40};
41
47{
48 Entity entity;
49};
50
53{
54 Entity entity;
55};
56
59{
60 Entity entity;
61};
62
65{
66 Entity entity;
67};
68
71{
72 Entity entity;
73};
74
77{
78 Entity entity;
79};
80
83{
84 Entity entity;
85};
86
89{
90 Entity entity;
91};
92
95{
96 Entity entity;
97 bool image_changed = false;
98 bool parameters_changed = false;
99};
100
101/*
102 * TODO key/mouse events
103 */
104
105} // namespace ui
106} // namespace lagrange
Lagrange UI Viewer and mini 3D engine.
Definition: AcceleratedPicking.h:22
Main namespace for Lagrange.
Definition: AABBIGL.h:30
Triggered when Camera component has changed in the default systems.
Definition: default_events.h:53
Triggered when Hovered component is removed from an entity.
Definition: default_events.h:77
Triggered when Selected component is removed from an entity.
Definition: default_events.h:65
Triggered when Hovered component is added to an entity.
Definition: default_events.h:71
Triggered when IBL has changed.
Definition: default_events.h:95
Triggered when Light component has changed.
Definition: default_events.h:89
Triggered when MeshRender component has changed.
Definition: default_events.h:83
Triggered when Selected component is added to an entity.
Definition: default_events.h:59
Triggered when Transform component has changed Only monitors global transform (not local) Note: this ...
Definition: default_events.h:47
Definition: default_events.h:33
Definition: default_events.h:37
Definition: default_events.h:28