A simple container for a holding multiple drop components used for assigning modulation to a kwidget which has more than 1 modulation source.
More...
#include <MultiDropComponent.h>
A simple container for a holding multiple drop components used for assigning modulation to a kwidget which has more than 1 modulation source.
Essentially just a parent for a ModulationAssignerDropArea with some high level config functions.
- See also
- ModulationAssignerDropArea
◆ MultiDropComponent()
| krotos::MultiDropComponent::MultiDropComponent |
( |
const String & | labelText, |
|
|
const String & | kwidgetID, |
|
|
int | numModulators ) |
◆ getConnectedKwidgetID()
| String & krotos::MultiDropComponent::getConnectedKwidgetID |
( |
| ) |
|
|
inline |
Returns the kwidget ID associated with this multi drop component.
◆ getDropComponent()
| DropComponent * krotos::MultiDropComponent::getDropComponent |
( |
int | index | ) |
|
|
inline |
Returns a specific drop component of a given index
◆ getDropComponents()
| const OwnedArray< DropComponent > & krotos::MultiDropComponent::getDropComponents |
( |
| ) |
const |
|
inlinenoexcept |
Returns an array of all the child drop components.
◆ getNumDropComponents()
| int krotos::MultiDropComponent::getNumDropComponents |
( |
| ) |
const |
|
inlinenoexcept |
Returns the number of child drop components
◆ paint()
| void krotos::MultiDropComponent::paint |
( |
Graphics & | g | ) |
|
|
override |
◆ resized()
| void krotos::MultiDropComponent::resized |
( |
| ) |
|
|
override |
◆ setEnableAutoCornerRounding()
| void krotos::MultiDropComponent::setEnableAutoCornerRounding |
( |
bool | roundCorners | ) |
|
|
inline |
Automatically round corners of drop components when they are arranged in a square formation.
◆ m_automaticCornerRounding
| bool krotos::MultiDropComponent::m_automaticCornerRounding {true} |
|
private |
◆ m_connectedKwidgetID
| String krotos::MultiDropComponent::m_connectedKwidgetID {""} |
|
private |
◆ m_drawHeader
| bool krotos::MultiDropComponent::m_drawHeader {true} |
|
private |
◆ m_dropArea
◆ m_label
| Label krotos::MultiDropComponent::m_label |
|
private |
◆ m_labelFontHeight
| float krotos::MultiDropComponent::m_labelFontHeight {15.0f} |
|
staticconstexprprivate |
◆ max_drop_components
| const size_t krotos::MultiDropComponent::max_drop_components {6} |
|
private |
The documentation for this class was generated from the following files: