Splitter component for mouse interaction.
More...
|
| Component (Layout *layout) |
| Constructor with a reference to the layout. More...
|
|
void | paint (juce::Graphics &g) override |
| Paint the splitter handle. More...
|
|
void | mouseDrag (const juce::MouseEvent &event) override |
| mouse callback to drag the splitter More...
|
|
void | mouseUp (const juce::MouseEvent &event) override |
| mouse callback when slider dragging ended More...
|
|
Splitter component for mouse interaction.
LayoutSplitter::Component::Component |
( |
Layout * |
layout | ) |
|
Constructor with a reference to the layout.
void LayoutSplitter::Component::paint |
( |
juce::Graphics & |
g | ) |
|
|
override |
Paint the splitter handle.
You can override this to customize the drawing
void LayoutSplitter::Component::mouseDrag |
( |
const juce::MouseEvent & |
event | ) |
|
|
override |
mouse callback to drag the splitter
void LayoutSplitter::Component::mouseUp |
( |
const juce::MouseEvent & |
event | ) |
|
|
override |
mouse callback when slider dragging ended
The documentation for this class was generated from the following file: