NESemu/src/debugger/DebugWindow.hpp

25 lines
331 B
C++
Raw Normal View History

2022-02-28 16:04:25 +01:00
#pragma once
#include <string>
2022-03-01 03:34:19 +01:00
class Debugger;
2022-02-28 16:04:25 +01:00
class DebugWindow
{
public:
2022-03-01 03:34:19 +01:00
DebugWindow(const std::string& title, Debugger* parent) :
title(title), parent(parent)
2022-02-28 16:04:25 +01:00
{
}
virtual ~DebugWindow() = default;
virtual void OnRender() = 0;
public:
const std::string title;
bool isOpen = false;
2022-03-01 03:34:19 +01:00
protected:
Debugger* parent;
2022-02-28 16:04:25 +01:00
};