Simplificando callback manager
This commit is contained in:
20
src/UI/RomInfo.cpp
Normal file
20
src/UI/RomInfo.cpp
Normal 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"))
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user