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
AgentConfigPanel
{
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
AgentConfigPanel
() =
default
;
24
25
void
Draw
(
AgentUIContext
* context,
const
Callbacks
& callbacks,
26
ToastManager
* toast_manager);
27
28
private
:
29
void
RenderModelConfigControls
(
AgentUIContext
* context,
30
const
Callbacks
& callbacks,
31
ToastManager
* toast_manager);
32
void
RenderModelDeck
(
AgentUIContext
* context,
const
Callbacks
& callbacks,
33
ToastManager
* toast_manager);
34
void
RenderParameterControls
(
AgentConfigState
& config);
35
void
RenderToolingControls
(
AgentConfigState
& config,
const
Callbacks
& callbacks);
36
void
RenderChainModeControls
(
AgentConfigState
& config);
37
};
38
39
}
// namespace editor
40
}
// namespace yaze
41
42
#endif
// YAZE_APP_EDITOR_AGENT_PANELS_AGENT_CONFIGURATION_PANEL_H_
agent_state.h
yaze::editor::AgentConfigPanel
Definition
agent_configuration_panel.h:14
yaze::editor::AgentConfigPanel::RenderToolingControls
void RenderToolingControls(AgentConfigState &config, const Callbacks &callbacks)
Definition
agent_configuration_panel.cc:916
yaze::editor::AgentConfigPanel::RenderParameterControls
void RenderParameterControls(AgentConfigState &config)
Definition
agent_configuration_panel.cc:902
yaze::editor::AgentConfigPanel::RenderModelConfigControls
void RenderModelConfigControls(AgentUIContext *context, const Callbacks &callbacks, ToastManager *toast_manager)
Definition
agent_configuration_panel.cc:120
yaze::editor::AgentConfigPanel::RenderModelDeck
void RenderModelDeck(AgentUIContext *context, const Callbacks &callbacks, ToastManager *toast_manager)
Definition
agent_configuration_panel.cc:769
yaze::editor::AgentConfigPanel::RenderChainModeControls
void RenderChainModeControls(AgentConfigState &config)
Definition
agent_configuration_panel.cc:955
yaze::editor::AgentConfigPanel::AgentConfigPanel
AgentConfigPanel()=default
yaze::editor::AgentConfigPanel::Draw
void Draw(AgentUIContext *context, const Callbacks &callbacks, ToastManager *toast_manager)
Definition
agent_configuration_panel.cc:78
yaze::editor::AgentUIContext
Unified context for agent UI components.
Definition
agent_state.h:380
yaze::editor::ToastManager
Definition
toast_manager.h:39
yaze
Definition
patch_export_usage.cc:8
yaze::editor::AgentConfigPanel::Callbacks
Definition
agent_configuration_panel.h:16
yaze::editor::AgentConfigPanel::Callbacks::update_config
std::function< void(const AgentConfigState &) update_config)
Definition
agent_configuration_panel.h:17
yaze::editor::AgentConfigPanel::Callbacks::refresh_models
std::function< void(bool force)> refresh_models
Definition
agent_configuration_panel.h:18
yaze::editor::AgentConfigPanel::Callbacks::apply_tool_preferences
std::function< void()> apply_tool_preferences
Definition
agent_configuration_panel.h:20
yaze::editor::AgentConfigPanel::Callbacks::apply_preset
std::function< void(const ModelPreset &) apply_preset)
Definition
agent_configuration_panel.h:19
yaze::editor::AgentConfigState
Agent configuration state.
Definition
agent_state.h:197
yaze::editor::ModelPreset
Model preset for quick switching.
Definition
agent_state.h:142
src
app
editor
agent
panels
agent_configuration_panel.h
Generated by
1.10.0