logmeow/misc.h

15 lines
362 B
C
Raw Normal View History

2023-01-16 04:05:25 +00:00
#pragma once
2023-01-29 10:08:27 +00:00
#include <imgui.h>
2023-01-16 04:05:25 +00:00
#include <string>
std::string quote(const std::string& str);
2023-01-17 15:35:08 +00:00
void throw_system_error(int err, const char* what);
void throw_system_error(const char* what);
void throw_system_error(std::string what);
2023-01-29 10:08:27 +00:00
namespace ImGui {
void TextUnformatted(const std::string& str);
bool RedButton(const char* text);
}; // namespace ImGui