2023-01-07 09:15:21 +00:00
|
|
|
#pragma once
|
|
|
|
|
2023-02-22 09:33:36 +00:00
|
|
|
#include <string>
|
|
|
|
void log(std::string message); // forward declaration from log.h
|
2023-01-07 09:15:21 +00:00
|
|
|
|
|
|
|
#define IM_ASSERT_USER_ERROR(expr,msg) do { if (!(expr)) { log(msg); } } while (0);
|
2023-01-20 15:22:21 +00:00
|
|
|
#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS
|
2023-01-22 05:16:40 +00:00
|
|
|
#define IMGUI_ENABLE_FREETYPE
|
2023-01-16 03:44:28 +00:00
|
|
|
|
2023-01-18 16:37:37 +00:00
|
|
|
#ifndef NDEBUG
|
2023-01-22 14:28:14 +00:00
|
|
|
#define IMGUI_DEBUG_PARANOID
|
|
|
|
#else
|
|
|
|
#define IMGUI_DISABLE_DEMO_WINDOWS
|
|
|
|
#define IMGUI_DISABLE_DEBUG_TOOLS
|
2023-01-18 16:37:37 +00:00
|
|
|
#endif
|