DadGUI::cParameterNumLeftRightView

Namespace : DadGUI
Files : ParameterViews.h / ParameterViews.cpp
Directory : DAD_FORGE/GUI/Components
Inheritance: cParameterNumView
Class : DadGUI::cParameterNumLeftRightView

cParameterNumLeftRightView - Left/Right type Stereo Layout

This class specializes the cParameterNumView to draw a potentiometer with a centered rest value at 0°, allowing adjustment to the left (-180°) or to the right (+180°).


📚 Public Methods

Draw

Element Details
Method virtual void Draw(uint8_t NumParameterArea, DadGFX::cLayer* pStaticLayer, DadGFX::cLayer* pDynamicLayer)
Description Completely draws the parameter:
* The static parts of the parameter (name, decorations, area number).
* The dynamic part of the parameter (cursor and value). The circular cursor varies around a centered value at 0°.
Parameter(s)  
NumParameterArea Parameter area identifier (1, 2 or 3). Used to determine the linked encoder.
pStaticLayer Pointer to the static graphical layer.
Used for rendering permanent parameter elements.
pDynamicLayer Pointer to the dynamic graphical layer.
Used for rendering dynamic parameter elements.
Return None (void)

DrawDynView

Element Details
Method virtual void DrawDynView(uint8_t NumParameterArea, DadGFX::cLayer* pLayer)
Description Draws the dynamic part of the parameter (current value, cursor).
Parameter(s)  
NumParameterArea Area identifier (1-3).
pLayer Pointer to the dynamic graphical layer.
Return None (void)

DAD_FORGE/DSP - Dad Design DSP Library
Copyright (c) 2024-2026 Dad Design.


This site uses Just the Docs, a documentation theme for Jekyll.