yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
debug_window_card.cc
Go to the documentation of this file.
2#include "util/i18n/tr.h"
3
5#include "imgui/imgui.h"
6
7namespace yaze::editor {
8
10
11void DebugWindowCard::Draw(bool* p_open) {
12 if (ImGui::Begin("Debug Window", p_open)) {
13 ImGui::Text(tr("Debug Information"));
14 ImGui::Separator();
15 ImGui::Text(tr("Application Average: %.3f ms/frame (%.1f FPS)"),
16 1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate);
17
18 // Add more debug info here as needed
19 }
20 ImGui::End();
21}
22
23} // namespace yaze::editor
void Draw(bool *p_open=nullptr)
Editors are the view controllers for the application.