TazGraph Project
v0.1.0
Loading...
Searching...
No Matches
TazGraph
Src
EditorIMGUI
Components
GraphMiddlePanel
ViewportPanel
SceneControl
SceneControl.h
1
#pragma once
2
3
4
#include "../../../../UIElement.h"
5
6
struct
SceneControlConfig
{
7
IScene
* scene;
8
};
9
10
class
SceneControlPanel
:
public
UIElement
11
{
12
private
:
13
SceneControlConfig
config;
14
15
public
:
16
glm::vec2 savedMousePos = glm::vec2(0);
17
18
void
setConfig(
const
SceneControlConfig
& cfg) { config = cfg; }
19
void
OnImGuiRender()
override
;
20
};
IScene
Definition
IScene.h:25
SceneControlPanel
Definition
SceneControl.h:11
UIElement
Definition
UIElement.h:16
SceneControlConfig
Definition
SceneControl.h:6
Generated by
1.9.8