ComplexPlotting/src/PlotManager.hpp
2020-09-04 20:29:55 +02:00

29 lines
No EOL
454 B
C++

#pragma once
#include <vector>
#include <thread>
#include <future>
#include <imgui/imstb_truetype.h>
#include "PlotWindow.hpp"
#include "objects/Shader.hpp"
typedef std::vector<PlotWindow> WList;
class PlotManager
{
public:
static void NewPlot(std::string title);
static void Loop();
static void Close();
public:
inline static bool isOpen = true;
inline static int currentID = 0;
private:
inline static PlotWindow* OpenWindow = nullptr;
};