Simplificando callback manager

This commit is contained in:
2025-06-26 23:35:33 -04:00
parent 8b20f4499d
commit cb0d31fb9e
10 changed files with 123 additions and 152 deletions

20
src/UI/RomInfo.cpp Normal file
View File

@@ -0,0 +1,20 @@
#include "RomInfo.h"
#include "imgui.h"
RomInfo::RomInfo(
std::shared_ptr<Graphics> graphics,
std::shared_ptr<MachineState> machine_state,
std::shared_ptr<CallbackManager> callback_manager
) : graphics{std::move(graphics)},
machine_state{std::move(machine_state)},
callback_manager{std::move(callback_manager)}
{
}
void RomInfo::render()
{
if (ImGui::Begin("Chip-8 - ROM Info"))
{
}
}