#include <KwidgetGUI_TriggerButton.h>
|
| std::function< void(const String &)> | onDelete |
| |
| std::unique_ptr< SliderParameterAttachment > | createParameterAttachment (const String ¶mID, Slider &slider) |
| |
| std::unique_ptr< ButtonParameterAttachment > | createParameterAttachment (const String ¶mID, Button &button) |
| |
| std::unique_ptr< ComboBoxParameterAttachment > | createParameterAttachment (const String ¶mID, ComboBox &comboBox) |
| |
| std::unique_ptr< ParameterAttachment > | createParameterAttachment (const String ¶mID, std::function< void(float)> callback) |
| |
| std::unique_ptr< LabelCustomParameterAttachment > | createCustomParameterAttachment (const String ¶mID, Label &label) |
| |
| template<typename AttachedComponentType > |
| void | addAttachedComponent (AttachedComponentType &component, const String ¶mID, bool isDraggable=true) |
| |
| template<typename AttachedComponentType > |
| void | addAttachedComponent (Component &parent, AttachedComponentType &component, const String ¶mID, bool isDraggable=true) |
| |
| void | addParameterCallback (const String ¶mID, std::function< void(float)> callback) |
| |
| bool | m_ignorePadding {false} |
| |
| Rectangle< int > | m_currentBounds |
| |
| TextButton | m_selectButton |
| |
| TextButton | m_deleteButton |
| |
| Colour | m_borderColour {Colours::fuchsia} |
| |
| TopBarComponent | m_topBarComponent |
| |
| RenderStyle | m_renderStyle {RenderStyle::normal} |
| |
◆ Parameters
◆ KwidgetGUI_TriggerButton()
| krotos::KwidgetGUI_TriggerButton::KwidgetGUI_TriggerButton |
( |
Kwidget & | owner | ) |
|
◆ ~KwidgetGUI_TriggerButton()
| krotos::KwidgetGUI_TriggerButton::~KwidgetGUI_TriggerButton |
( |
| ) |
|
◆ paint()
| void krotos::KwidgetGUI_TriggerButton::paint |
( |
Graphics & | g | ) |
|
|
override |
◆ resized()
| void krotos::KwidgetGUI_TriggerButton::resized |
( |
| ) |
|
|
override |
◆ setPerformMode()
| void krotos::KwidgetGUI_TriggerButton::setPerformMode |
( |
bool | performMode | ) |
|
|
inline |
◆ showContextMenu()
| void krotos::KwidgetGUI_TriggerButton::showContextMenu |
( |
| ) |
|
|
private |
◆ constants
◆ m_contextMenu
◆ m_editableLabel
| std::unique_ptr<AttachedLabel> krotos::KwidgetGUI_TriggerButton::m_editableLabel {nullptr} |
|
private |
◆ m_onClickButton
◆ m_padding
| const int krotos::KwidgetGUI_TriggerButton::m_padding {5} |
|
private |
◆ m_performMode
| bool krotos::KwidgetGUI_TriggerButton::m_performMode {false} |
|
private |
◆ m_triggerButtonAttachment
The documentation for this class was generated from the following files: