TazGraph Project
v0.1.0
Loading...
Searching...
No Matches
TazGraph
Src
App
App.h
1
#pragma once
2
3
#include "TazGraphEngine.h"
4
#include "../Screens/GraphScene/Graph.h"
5
#include "../Screens/MainMenuScreen/MainMenuScreen.h"
6
7
class
App
:
public
AppInterface
8
{
9
public
:
10
App
(
11
int
threadCount,
12
int
msaa_samples,
13
std::string openFile,
14
double
initialTimestamp,
15
int
initialStep,
16
bool
usePython,
17
std::array<float, 4> bg,
18
bool
useGrid);
19
~App
();
20
21
// Called on initialization
22
virtual
void
onInit()
override
;
23
// For adding all screens
24
virtual
void
addScenes()
override
;
25
// Called when exiting
26
virtual
void
onExit()
override
;
27
private
:
28
29
std::unique_ptr<Graph> _graphplayScreen =
nullptr
;
30
std::unique_ptr<MainMenuScreen> _mainMenuScreen =
nullptr
;
31
32
//std::unique_ptr<EditorScreen> m_editorScreen = nullptr;
33
};
34
AppInterface
Definition
AppInterface.h:20
App
Definition
App.h:8
Generated by
1.9.8