yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
agent_editor_panels.cc
Go to the documentation of this file.
1
#include "
app/editor/agent/panels/agent_editor_panels.h
"
2
3
#include "
app/editor/agent/agent_chat.h
"
4
#include "imgui/imgui.h"
5
6
namespace
yaze
{
7
namespace
editor {
8
9
void
AgentChatPanel::Draw
(
bool
* p_open) {
10
if
(
chat_
) {
11
chat_
->
set_active
(
true
);
12
chat_
->
Draw
();
13
}
else
{
14
ImGui::TextDisabled(
"Chat not available"
);
15
}
16
}
17
18
}
// namespace editor
19
}
// namespace yaze
agent_chat.h
agent_editor_panels.h
yaze::editor::AgentChatPanel::chat_
AgentChat * chat_
Definition
agent_editor_panels.h:249
yaze::editor::AgentChatPanel::Draw
void Draw(bool *p_open) override
Draw the panel content.
Definition
agent_editor_panels.cc:9
yaze::editor::AgentChat::Draw
void Draw(float available_height=0.0f)
Definition
agent_chat.cc:81
yaze::editor::AgentChat::set_active
void set_active(bool active)
Definition
agent_chat.h:67
yaze
Definition
application.cc:18
src
app
editor
agent
panels
agent_editor_panels.cc
Generated by
1.10.0