TazGraph Project v0.1.0
Loading...
Searching...
No Matches
App.h
1#pragma once
2
3#include "TazGraphEngine.h"
4#include "../Screens/GraphScene/Graph.h"
5#include "../Screens/MainMenuScreen/MainMenuScreen.h"
6
7class App : public AppInterface
8{
9public:
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;
27private:
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
Definition AppInterface.h:20
Definition App.h:8