Handles navigation, focus cycling, and ratio/count adjustments.
More...
#include <phosphor-tile-engine/include/PhosphorTileEngine/NavigationController.h>
Handles navigation, focus cycling, and ratio/count adjustments.
NavigationController is a stateless helper extracted from AutotileEngine. It manages keyboard-driven navigation (focus next/previous/master), window swapping, rotation, directional focus/swap, position moves, and master ratio/count adjustments.
Stateless — no member data moves from AutotileEngine. All state is accessed via the back-pointer to AutotileEngine.
- See also
- AutotileEngine for the owning engine
◆ NavigationController()
| PhosphorTileEngine::NavigationController::NavigationController |
( |
AutotileEngine * |
engine | ) |
|
|
explicit |
◆ adjustMasterCount()
| void PhosphorTileEngine::NavigationController::adjustMasterCount |
( |
int |
delta | ) |
|
◆ decreaseMasterRatio()
| void PhosphorTileEngine::NavigationController::decreaseMasterRatio |
( |
qreal |
delta | ) |
|
◆ focusInDirection()
| void PhosphorTileEngine::NavigationController::focusInDirection |
( |
const QString & |
direction, |
|
|
const QString & |
action, |
|
|
const QString & |
explicitWindowId = QString() |
|
) |
| |
◆ focusMaster()
| void PhosphorTileEngine::NavigationController::focusMaster |
( |
| ) |
|
◆ focusNext()
| void PhosphorTileEngine::NavigationController::focusNext |
( |
| ) |
|
◆ focusPrevious()
| void PhosphorTileEngine::NavigationController::focusPrevious |
( |
| ) |
|
◆ increaseMasterRatio()
| void PhosphorTileEngine::NavigationController::increaseMasterRatio |
( |
qreal |
delta | ) |
|
◆ moveFocusedToPosition()
| void PhosphorTileEngine::NavigationController::moveFocusedToPosition |
( |
int |
position, |
|
|
const QString & |
explicitWindowId = QString() |
|
) |
| |
◆ rotateWindowOrder()
| void PhosphorTileEngine::NavigationController::rotateWindowOrder |
( |
bool |
clockwise | ) |
|
◆ setGlobalMasterCount()
| void PhosphorTileEngine::NavigationController::setGlobalMasterCount |
( |
int |
count | ) |
|
◆ setGlobalSplitRatio()
| void PhosphorTileEngine::NavigationController::setGlobalSplitRatio |
( |
qreal |
ratio | ) |
|
◆ swapFocusedInDirection()
| void PhosphorTileEngine::NavigationController::swapFocusedInDirection |
( |
const QString & |
direction, |
|
|
const QString & |
action, |
|
|
const QString & |
explicitWindowId = QString() |
|
) |
| |
explicitWindowId (when non-empty) overrides the state's internal focusedWindow() for the operation.
The IPlacementEngine virtual-method overrides on AutotileEngine pass ctx.windowId here so navigation follows the daemon's authoritative focus tracking even when the engine's per-state focusedWindow tracker is stale.
◆ swapFocusedWithMaster()
| void PhosphorTileEngine::NavigationController::swapFocusedWithMaster |
( |
| ) |
|
The documentation for this class was generated from the following file: