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.
1
#include "
app/editor/overworld/debug_window_card.h
"
2
#include "
util/i18n/tr.h
"
3
4
#include "
app/gui/core/icons.h
"
5
#include "imgui/imgui.h"
6
7
namespace
yaze::editor
{
8
9
DebugWindowCard::DebugWindowCard
() {}
10
11
void
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
yaze::editor::DebugWindowCard::DebugWindowCard
DebugWindowCard()
Definition
debug_window_card.cc:9
yaze::editor::DebugWindowCard::Draw
void Draw(bool *p_open=nullptr)
Definition
debug_window_card.cc:11
debug_window_card.h
icons.h
yaze::editor
Editors are the view controllers for the application.
Definition
patch_export_usage.cc:9
tr.h
src
app
editor
overworld
debug_window_card.cc
Generated by
1.10.0