#pragma once #include "imgui.h" #include #include #include "../data/state.h" namespace UI { enum class Actions { None = 0, FPS = 1 << 0, FullScreen = 1 << 1, ClearColor = 1 << 2, RendererSharders = 1 << 3, RendererTextures = 1 << 4, World = 1 << 5, Camera = 1 << 6, ChangeContouring = 1 << 7, }; inline Actions operator|(Actions a, Actions b) { return static_cast(static_cast(a) | static_cast(b)); } inline bool operator&&(Actions a, Actions b) { return static_cast(a) & static_cast(b); } void setup(GLFWwindow*); void unload(); Actions draw(options&, state&, const reports&, GLuint aim); bool isFocus(); void render(); };