yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
agent_configuration_panel.h
Go to the documentation of this file.
1
#ifndef YAZE_APP_EDITOR_AGENT_PANELS_AGENT_CONFIGURATION_PANEL_H_
2
#define YAZE_APP_EDITOR_AGENT_PANELS_AGENT_CONFIGURATION_PANEL_H_
3
4
#include <functional>
5
#include <string>
6
7
#include "
app/editor/agent/agent_state.h
"
8
9
namespace
yaze
{
10
namespace
editor {
11
12
class
ToastManager;
13
14
class
AgentConfigurationPanel
{
15
public
:
16
struct
Callbacks
{
17
std::function<void(
const
AgentConfigState
&)>
update_config
;
18
std::function<void(
bool
force)>
refresh_models
;
19
std::function<void(
const
ModelPreset
&)>
apply_preset
;
20
std::function<void()>
apply_tool_preferences
;
21
};
22
23
AgentConfigurationPanel
() =
default
;
24
25
void
Draw
(
AgentUIContext
* context,
const
Callbacks
& callbacks,
ToastManager
* toast_manager);
26
27
private
:
28
void
RenderModelConfigControls
(
AgentUIContext
* context,
const
Callbacks
& callbacks,
ToastManager
* toast_manager);
29
void
RenderModelDeck
(
AgentUIContext
* context,
const
Callbacks
& callbacks,
ToastManager
* toast_manager);
30
void
RenderParameterControls
(
AgentConfigState
& config);
31
void
RenderToolingControls
(
AgentConfigState
& config,
const
Callbacks
& callbacks);
32
void
RenderChainModeControls
(
AgentConfigState
& config);
33
};
34
35
}
// namespace editor
36
}
// namespace yaze
37
38
#endif
// YAZE_APP_EDITOR_AGENT_PANELS_AGENT_CONFIGURATION_PANEL_H_
agent_state.h
yaze::editor::AgentConfigurationPanel
EditorPanel for AI Configuration panel.
Definition
agent_configuration_panel.h:14
yaze::editor::AgentConfigurationPanel::RenderChainModeControls
void RenderChainModeControls(AgentConfigState &config)
Definition
agent_configuration_panel.cc:599
yaze::editor::AgentConfigurationPanel::Draw
void Draw(AgentUIContext *context, const Callbacks &callbacks, ToastManager *toast_manager)
Definition
agent_configuration_panel.cc:47
yaze::editor::AgentConfigurationPanel::AgentConfigurationPanel
AgentConfigurationPanel()=default
yaze::editor::AgentConfigurationPanel::RenderParameterControls
void RenderParameterControls(AgentConfigState &config)
Definition
agent_configuration_panel.cc:553
yaze::editor::AgentConfigurationPanel::RenderToolingControls
void RenderToolingControls(AgentConfigState &config, const Callbacks &callbacks)
Definition
agent_configuration_panel.cc:566
yaze::editor::AgentConfigurationPanel::RenderModelConfigControls
void RenderModelConfigControls(AgentUIContext *context, const Callbacks &callbacks, ToastManager *toast_manager)
Definition
agent_configuration_panel.cc:93
yaze::editor::AgentConfigurationPanel::RenderModelDeck
void RenderModelDeck(AgentUIContext *context, const Callbacks &callbacks, ToastManager *toast_manager)
Definition
agent_configuration_panel.cc:465
yaze::editor::AgentUIContext
Unified context for agent UI components.
Definition
agent_state.h:355
yaze::editor::ToastManager
Definition
toast_manager.h:38
yaze
Definition
application.cc:18
yaze::editor::AgentConfigState
Agent configuration state.
Definition
agent_state.h:177
yaze::editor::AgentConfigurationPanel::Callbacks
Definition
agent_configuration_panel.h:16
yaze::editor::AgentConfigurationPanel::Callbacks::refresh_models
std::function< void(bool force)> refresh_models
Definition
agent_configuration_panel.h:18
yaze::editor::AgentConfigurationPanel::Callbacks::apply_tool_preferences
std::function< void()> apply_tool_preferences
Definition
agent_configuration_panel.h:20
yaze::editor::AgentConfigurationPanel::Callbacks::apply_preset
std::function< void(const ModelPreset &) apply_preset)
Definition
agent_configuration_panel.h:19
yaze::editor::AgentConfigurationPanel::Callbacks::update_config
std::function< void(const AgentConfigState &) update_config)
Definition
agent_configuration_panel.h:17
yaze::editor::ModelPreset
Model preset for quick switching.
Definition
agent_state.h:141
src
app
editor
agent
panels
agent_configuration_panel.h
Generated by
1.10.0