mirror of
https://github.com/yoboujon/yoyo_card.git
synced 2025-06-08 11:40:49 +02:00
23 lines
No EOL
408 B
C++
23 lines
No EOL
408 B
C++
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
|
|
#define _CRT_SECURE_NO_WARNINGS
|
|
#endif
|
|
|
|
#include <imgui.h>
|
|
#include <cmath>
|
|
|
|
bool _running = false;
|
|
|
|
void debug_window(void)
|
|
{
|
|
if (!_running)
|
|
return;
|
|
|
|
ImGui::Begin("Hello, World!", &_running, ImGuiWindowFlags_NoCollapse);
|
|
ImGui::Text("Welcome to Dear ImGui!");
|
|
ImGui::End();
|
|
}
|
|
|
|
void open_window(void)
|
|
{
|
|
_running = true;
|
|
} |