Euphoria
debug.h
Go to the documentation of this file.
1#pragma once
2#include "imgui.h"
3
4namespace eu::imgui
5{
6
7enum class LogStyle
8{
10};
11
12struct ImLog
13{
14 ImGuiTextFilter filter;
15 std::vector<std::string> messages;
16
17 void begin();
18 void add(std::string m);
20
21 void draw_basic() const;
23};
24
25struct ImTweak
26{
27 std::unordered_map<std::string, bool> booleans;
28
29 bool get_bool(const std::string& name);
30 void draw();
31};
32
33
34}
LogStyle
Definition debug.h:8
std::vector< std::string > messages
Definition debug.h:15
void draw(LogStyle style=LogStyle::basic)
ImGuiTextFilter filter
Definition debug.h:14
void draw_basic() const
void add(std::string m)
bool get_bool(const std::string &name)
std::unordered_map< std::string, bool > booleans
Definition debug.h:27