ff_layout
Layout classes for JUCE
 All Classes Files Functions Variables Enumerations Enumerator
Public Member Functions | List of all members
LayoutSplitter::Component Class Reference

Splitter component for mouse interaction. More...

+ Inheritance diagram for LayoutSplitter::Component:

Public Member Functions

 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...
 

Detailed Description

Splitter component for mouse interaction.

Constructor & Destructor Documentation

LayoutSplitter::Component::Component ( Layout layout)

Constructor with a reference to the layout.

Member Function Documentation

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: