Describes an interactive resize that triggered a retile. More...
#include <phosphor-tiles/include/PhosphorTiles/TilingParams.h>
Public Attributes | |
| int | index = -1 |
| 0-based tiled index of the resized window (parallel to windowInfos) | |
| QRect | oldRect |
| Window frame before the resize (drag baseline) | |
| QRect | newRect |
| Window frame after the resize. | |
| bool | left = false |
| Left edge moved beyond the threshold (and right did not) | |
| bool | right = false |
| Right edge moved (and left did not) | |
| bool | top = false |
| Top edge moved (and bottom did not) | |
| bool | bottom = false |
| Bottom edge moved (and top did not) | |
Describes an interactive resize that triggered a retile.
Delivered as the argument to the optional onWindowResized algorithm hook (NOT via TilingParams — see the note on currentGeometries) so resize-aware algorithms can react to "the user dragged window N's right edge". A non-resize retile never constructs one.
| bool PhosphorTiles::ResizeEvent::bottom = false |
Bottom edge moved (and top did not)
| int PhosphorTiles::ResizeEvent::index = -1 |
0-based tiled index of the resized window (parallel to windowInfos)
| bool PhosphorTiles::ResizeEvent::left = false |
Left edge moved beyond the threshold (and right did not)
| QRect PhosphorTiles::ResizeEvent::newRect |
Window frame after the resize.
| QRect PhosphorTiles::ResizeEvent::oldRect |
Window frame before the resize (drag baseline)
| bool PhosphorTiles::ResizeEvent::right = false |
Right edge moved (and left did not)
| bool PhosphorTiles::ResizeEvent::top = false |
Top edge moved (and bottom did not)