Namespace: DadGUI::cParameterInfoView Files: cParameterInfoView.h / cParameterInfoView.cpp Directory: DAD_FORGE/GUI/Components/ Inheritance:cPanelOfParameterView, iGUI_EventListener Description: Manages the temporary display of parameter information (name and value) as a popup window superimposed on the InfoView Area.
📋 Class Description
The cParameterInfoView class is responsible for displaying an ephemeral information banner on the InfoView area of the user interface.
When a parameter is modified, the class displays its name and value on a dedicated layer, then automatically hides this layer after a predefined delay (PARAMETER_INFO_VIEW_DISPLAY_TIME_MS). It acts as an observer of parameter changes via the iGUI_EventListener interface.
🔗 External Dependencies
File Inclusions
Included File
Source
Role
"GUI_Include.h"
DAD_FORGE/GUI
Access to base types, graphic components, constants, and global objects used by the GUI
"GUI_Event.h"
DAD_FORGE/GUI
Event management and listener interfaces
External Functions Called
Function
Source
Usage
void RegisterParameterListener(...)
Global GUI Object
Registers the parameter change callback
void Subscribe_Update(...)
Global Event Manager
Subscribes the object to periodic GUI updates
Global Variables Used and Driver Objects
Variable / Object
Type
Source
Role
__pActivePalette
Palette*
Global GUI Context
Access to colors for rendering the chosen theme colors
__GUI
GUI_Manager
Global GUI Context
GUI manager, synchronization, …
__GUI_EventManager
EventManager
Global GUI Context
GUI event manager
📚 Public Methods
Init
Element
Details
Method
void Init()
Description
Initializes the view, allocates the overlay layer, resets the time counter, and subscribes to parameter change events and GUI update events.