Represents the different sections of a resizable border, which allow it to resized in different ways.
More...
#include <juce_ResizableBorderComponent.h>
Represents the different sections of a resizable border, which allow it to resized in different ways.
◆ Zones
Enumerator |
---|
centre | |
left | |
top | |
right | |
bottom | |
◆ Zone() [1/3]
juce::ResizableBorderComponent::Zone::Zone |
( |
int |
zoneFlags | ) |
|
|
explicitnoexcept |
Creates a Zone from a combination of the flags in zoneFlags.
◆ Zone() [2/3]
juce::ResizableBorderComponent::Zone::Zone |
( |
| ) |
|
|
noexcept |
◆ Zone() [3/3]
juce::ResizableBorderComponent::Zone::Zone |
( |
const Zone & |
| ) |
|
|
noexcept |
◆ fromPositionOnBorder()
Given a point within a rectangle with a resizable border, this returns the zone that the point lies within.
◆ getMouseCursor()
MouseCursor juce::ResizableBorderComponent::Zone::getMouseCursor |
( |
| ) |
const |
|
noexcept |
Returns an appropriate mouse-cursor for this resize zone.
◆ getZoneFlags()
int juce::ResizableBorderComponent::Zone::getZoneFlags |
( |
| ) |
const |
|
inlinenoexcept |
Returns the raw flags for this zone.
◆ isDraggingBottomEdge()
bool juce::ResizableBorderComponent::Zone::isDraggingBottomEdge |
( |
| ) |
const |
|
inlinenoexcept |
Returns true if dragging this zone will move the object's bottom edge.
References juce::gl::bottom.
◆ isDraggingLeftEdge()
bool juce::ResizableBorderComponent::Zone::isDraggingLeftEdge |
( |
| ) |
const |
|
inlinenoexcept |
Returns true if dragging this zone will move the object's left edge.
References juce::gl::left.
◆ isDraggingRightEdge()
bool juce::ResizableBorderComponent::Zone::isDraggingRightEdge |
( |
| ) |
const |
|
inlinenoexcept |
Returns true if dragging this zone will move the object's right edge.
References juce::gl::right.
◆ isDraggingTopEdge()
bool juce::ResizableBorderComponent::Zone::isDraggingTopEdge |
( |
| ) |
const |
|
inlinenoexcept |
Returns true if dragging this zone will move the object's top edge.
References juce::gl::top.
◆ isDraggingWholeObject()
bool juce::ResizableBorderComponent::Zone::isDraggingWholeObject |
( |
| ) |
const |
|
inlinenoexcept |
Returns true if dragging this zone will move the enire object without resizing it.
◆ operator!=()
bool juce::ResizableBorderComponent::Zone::operator!= |
( |
const Zone & |
| ) |
const |
|
noexcept |
◆ operator=()
Zone& juce::ResizableBorderComponent::Zone::operator= |
( |
const Zone & |
| ) |
|
|
noexcept |
◆ operator==()
bool juce::ResizableBorderComponent::Zone::operator== |
( |
const Zone & |
| ) |
const |
|
noexcept |
◆ resizeRectangleBy()
template<typename ValueType >
Rectangle<ValueType> juce::ResizableBorderComponent::Zone::resizeRectangleBy |
( |
Rectangle< ValueType > |
original, |
|
|
const Point< ValueType > & |
distance |
|
) |
| const |
|
inlinenoexcept |
◆ zone
int juce::ResizableBorderComponent::Zone::zone = centre |
|
private |
The documentation for this class was generated from the following file: