mirror of
https://github.com/MiSTer-devel/InputTest_MiSTer.git
synced 2026-04-19 03:04:18 +00:00
14 lines
336 B
C++
14 lines
336 B
C++
#pragma once
|
|
#include "imgui.h"
|
|
|
|
struct DebugConsole {
|
|
public:
|
|
void AddLog(const char* fmt, ...) IM_FMTARGS(2);
|
|
DebugConsole();
|
|
~DebugConsole();
|
|
void ClearLog();
|
|
void Draw(const char* title, bool* p_open, ImVec2 size);
|
|
void ExecCommand(const char* command_line);
|
|
int TextEditCallback(ImGuiInputTextCallbackData* data);
|
|
};
|