Inherits juce::Component, and juce::Timer.
◆ Orientation
Enumerator |
---|
vertical | |
horizontal | |
◆ ComponentGrid()
◆ ~ComponentGrid()
ComponentGrid::~ComponentGrid |
( |
| ) |
|
|
override |
◆ timerCallback()
void ComponentGrid::timerCallback |
( |
| ) |
|
|
override |
◆ mouseDown()
void ComponentGrid::mouseDown |
( |
const juce::MouseEvent & |
e | ) |
|
|
override |
◆ mouseDrag()
void ComponentGrid::mouseDrag |
( |
const juce::MouseEvent & |
e | ) |
|
|
override |
◆ mouseUp()
void ComponentGrid::mouseUp |
( |
const juce::MouseEvent & |
e | ) |
|
|
override |
◆ resized()
void ComponentGrid::resized |
( |
| ) |
|
|
override |
◆ isDragInProgress()
bool ComponentGrid::isDragInProgress |
( |
| ) |
|
◆ setGap()
void ComponentGrid::setGap |
( |
int |
| ) |
|
◆ setOrientation()
◆ isGridDrag()
static bool ComponentGrid::isGridDrag |
( |
juce::var |
| ) |
|
|
static |
◆ getDragIndex()
static int ComponentGrid::getDragIndex |
( |
juce::var |
| ) |
|
|
static |
◆ layoutAnimated()
void ComponentGrid::layoutAnimated |
( |
| ) |
|
|
protected |
◆ componentIndex()
int ComponentGrid::componentIndex |
( |
juce::Component & |
c | ) |
|
|
protected |
◆ getComponentRects()
juce::Array<juce::Rectangle<int> > ComponentGrid::getComponentRects |
( |
| ) |
|
|
protected |
◆ onDragStart
std::function<bool(const juce::MouseEvent&)> ComponentGrid::onDragStart |
◆ onOrderChanged
std::function<void (int, int)> ComponentGrid::onOrderChanged |
◆ onDragFinished
std::function<void (int, int)> ComponentGrid::onDragFinished |
◆ dragStarted
bool ComponentGrid::dragStarted = false |
|
protected |
◆ dragging
bool ComponentGrid::dragging = false |
|
protected |
◆ dragOut
bool ComponentGrid::dragOut = false |
|
protected |
◆ orientation
◆ gap
int ComponentGrid::gap = 1 |
|
protected |
◆ originalOrder
juce::Array<juce::Component*> ComponentGrid::originalOrder |
|
protected |
◆ animator
juce::ComponentAnimator ComponentGrid::animator |
|
protected |
The documentation for this class was generated from the following file: