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
3
#include "
app/gui/core/icons.h
"
4
#include "imgui/imgui.h"
5
6
namespace
yaze::editor
{
7
8
DebugWindowCard::DebugWindowCard
() {}
9
10
void
DebugWindowCard::Draw
(
bool
* p_open) {
11
if
(ImGui::Begin(
"Debug Window"
, p_open)) {
12
ImGui::Text(
"Debug Information"
);
13
ImGui::Separator();
14
ImGui::Text(
"Application Average: %.3f ms/frame (%.1f FPS)"
,
15
1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate);
16
17
// Add more debug info here as needed
18
}
19
ImGui::End();
20
}
21
22
}
// namespace yaze::editor
yaze::editor::DebugWindowCard::DebugWindowCard
DebugWindowCard()
Definition
debug_window_card.cc:8
yaze::editor::DebugWindowCard::Draw
void Draw(bool *p_open=nullptr)
Definition
debug_window_card.cc:10
debug_window_card.h
icons.h
yaze::editor
Editors are the view controllers for the application.
Definition
agent_chat.cc:23
src
app
editor
overworld
debug_window_card.cc
Generated by
1.10.0