TazGraph Project v0.1.0
Loading...
Searching...
No Matches
GraphTopBar.h
1#pragma once
2
3#include "../../UIElement.h"
4#include <AppScene/AppInterface.h>
5
7 BaseFPSLimiter* c_fpsLimiter;
8 std::unordered_map<std::string, Manager*>* c_graphNames = {
9 };
10 std::string* c_currentActive;
11 Manager* c_manager;
12};
13
14class GraphTopBar : public UIElement
15{
16private:
17 bool interpolation_running = false;
18
19 float interpolation = 0.0f;
20 float interpolation_speed = 0.01f;
21
22 std::string currentActive;
23
24 GraphTopConfig config;
25 std::string tabToClose = "";
26
27public:
28 void update(float deltaTime) override;
29 void setConfig(const GraphTopConfig& cfg) { config = cfg; }
30 void OnImGuiRender() override;
31 std::string getTabToClose();
32};
Definition BaseFPSLimiter.h:5
Definition GraphTopBar.h:15
Definition GECSManager.h:14
Definition UIElement.h:21
Definition GraphTopBar.h:6