mirror of
https://github.com/orange-cpp/omath.git
synced 2026-04-19 06:43:26 +00:00
added stuff
This commit is contained in:
28
examples/example_hud/gui/main_window.hpp
Normal file
28
examples/example_hud/gui/main_window.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// Created by Vlad on 6/17/2025.
|
||||
//
|
||||
|
||||
//
|
||||
// Created by Orange on 11/11/2024.
|
||||
//
|
||||
#pragma once
|
||||
#include <string_view>
|
||||
|
||||
struct GLFWwindow;
|
||||
|
||||
namespace imgui_desktop::gui
|
||||
{
|
||||
class MainWindow
|
||||
{
|
||||
public:
|
||||
MainWindow(const std::string_view &caption, int width, int height);
|
||||
|
||||
void Run();
|
||||
|
||||
private:
|
||||
GLFWwindow* m_window;
|
||||
static bool m_canMoveWindow;
|
||||
bool m_opened = true;
|
||||
};
|
||||
} // gui
|
||||
// imgui_desktop
|
||||
Reference in New Issue
Block a user