Namespace : DadGUI::cPanelOfEffectChoice Files : cPanelOfEffectChoice.h / cPanelOfEffectChoice.cpp Directory : DAD_FORGE/GUI/Components/ Inheritance: cPanelOfParameterView Description : User interface panel for effect selection within a multi-effect framework.
📋 Class Description
The cPanelOfEffectChoice class is a user interface component that lists and selects effects. It uses a discrete parameter view to display options and allows triggering an effect change via a callback when the user presses the encoder button.
🔗 External Dependencies
File Inclusions
Included File
Source
Role
"iUIComponent.h"
DAD_FORGE/GUI/Components
Base interface for UI components
"cUIParameter.h"
DAD_FORGE/GUI/Components
UI parameter management
"ParameterViews.h"
DAD_FORGE/GUI/Components
Parameter views (Discrete view)
"cPanelOfParameters.h"
DAD_FORGE/GUI/Components
Base class for parameter panels
"cDisplay.h"
DAD_FORGE/GUI/Components
Display management
Global Variables and Driver Objects Used
Variable / Object
Type
Role
__Display
Layer*
Display management
__pActivePalette
Palette*
Retrieves active colors for rendering
__Encoder0
Encoder*
Hardware encoder
External Functions Called
Function
Signature
Source
Usage
__Encoder0.getSwitchState()
uint8_t getSwitchState()
__Encoder0 (Hardware/Global)
Check encoder button state to trigger callback
🎯 Associated Enumerations and Structures
EffectChangeCallback_t
Callback function type used to notify an effect change.
Element / Variable
Type / Value (if applicable)
Description
EffectChangeCallback_t
void (*)(DadDSP::cParameter*, uint32_t)
Callback signature: receives the parameter and a context.