ferx/editor/include/GUI.h

34 lines
724 B
C
Raw Normal View History

#pragma once
#define GLFW_INCLUDE_NONE
#include "FrameBuffer.h"
#include <GLFW/glfw3.h>
#include <imgui.h>
#include <string>
2024-11-19 19:53:03 +00:00
#include <IconsFontAwesome6.h>
2024-11-22 00:37:06 +00:00
class GUI
{
public:
2024-11-22 00:37:06 +00:00
GUI();
~GUI();
static void Init(GLFWwindow* window);
2024-11-19 19:53:03 +00:00
static void LoadConfigs();
static void Run();
static void Render(const FrameBuffer& sceneBuffer);
static void Shutdown();
static void Print(const std::string& message);
static void ShowMenu();
static void ShowEntities();
static void ShowFiles();
static void ShowConsole();
static void ShowScene(const FrameBuffer& sceneBuffer);
static void ShowProperties();
private:
2024-11-22 00:37:06 +00:00
static std::string s_Log;
static ImVec4* s_StyleColors;
};