Namespace : DadGUI::cPanelOfSystemView Files : cPanelOfSystemView.h / cPanelOfSystemView.cpp Directory : DAD_FORGE/GUI/Components/ Inheritance: cPanelOfParameterView Description : Panel for managing system parameters including color themes and MIDI channels.
📋 Class Description
The cPanelOfSystemView class is a user interface (GUI) component responsible for managing global system parameters. It allows selecting the interface color theme and configuring the active MIDI channel.
🔗 External Dependencies
File Inclusions
Included File
Source
Role
"GUI_Include.h"
DAD_FORGE/GUI
Contains basic graphical interface definitions
"cPanelOfParameters.h"
DAD_FORGE/GUI
Defines the base class and parameter types
Global Variables
Variable / Object
Type
Source
Role
__pActivePalette
PaletteType*
extern
Pointer to the color palette currently used by the interface
__ColorPalette
PaletteType[]
extern
Array containing the different available color palettes
__Midi
cMidiDriver*
extern
Driver object managing MIDI communications
NB_PALETTE
const uint8_t
extern
Total number of available palettes
External Functions Called
Function
Signature
Source
Usage
ChangeChannel
void ChangeChannel(uint8_t)
__Midi
Called to change the active MIDI channel
📚 Public Methods
~cPanelOfSystemView
Element
Details
Method
~cPanelOfSystemView()
Description
Virtual destructor of the class.
Initialize
Element
Details
Method
void Initialize(uint32_t SerializeID)
Description
Initializes the color theme and MIDI channel parameters, configures their respective views with the available discrete values, and initializes the parent panel view.
Parameter(s)
Â
SerializeID
uint32_t Serialization identifier for parameter persistence.
Update
Element
Details
Method
void Update()
Description
Updates the panel state if it is active, by calling the parent class update logic.