NESemu/src/debugger/DebugWindow.hpp
2022-03-01 03:34:19 +01:00

24 lines
331 B
C++

#pragma once
#include <string>
class Debugger;
class DebugWindow
{
public:
DebugWindow(const std::string& title, Debugger* parent) :
title(title), parent(parent)
{
}
virtual ~DebugWindow() = default;
virtual void OnRender() = 0;
public:
const std::string title;
bool isOpen = false;
protected:
Debugger* parent;
};