Represents the different sections of a resizable border, which allow it to resized in different ways.
More...
|
| Zone (int zoneFlags) noexcept |
| Creates a Zone from a combination of the flags in zoneFlags.
|
|
| Zone () noexcept |
|
| Zone (const Zone &) noexcept |
|
Zone & | operator= (const Zone &) noexcept |
|
bool | operator== (const Zone &) const noexcept |
|
bool | operator!= (const Zone &) const noexcept |
|
MouseCursor | getMouseCursor () const noexcept |
| Returns an appropriate mouse-cursor for this resize zone.
|
|
bool | isDraggingWholeObject () const noexcept |
| Returns true if dragging this zone will move the entire object without resizing it.
|
|
bool | isDraggingLeftEdge () const noexcept |
| Returns true if dragging this zone will move the object's left edge.
|
|
bool | isDraggingRightEdge () const noexcept |
| Returns true if dragging this zone will move the object's right edge.
|
|
bool | isDraggingTopEdge () const noexcept |
| Returns true if dragging this zone will move the object's top edge.
|
|
bool | isDraggingBottomEdge () const noexcept |
| Returns true if dragging this zone will move the object's bottom edge.
|
|
template<typename ValueType > |
Rectangle< ValueType > | resizeRectangleBy (Rectangle< ValueType > original, const Point< ValueType > &distance) const noexcept |
| Resizes this rectangle by the given amount, moving just the edges that this zone applies to.
|
|
int | getZoneFlags () const noexcept |
| Returns the raw flags for this zone.
|
|
Represents the different sections of a resizable border, which allow it to resized in different ways.