Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
snapnavigationtargets.h File Reference
#include "phosphorsnapengine_export.h"
#include <PhosphorEngine/IWindowTrackingService.h>
#include <PhosphorProtocol/NavigationTypes.h>
#include <QRect>
#include <QString>
#include <QStringList>
#include <functional>

Go to the source code of this file.

Classes

struct  PhosphorSnapEngine::SpanTargetResult
 Result of a span (grow/shrink) target computation. More...
class  PhosphorSnapEngine::SnapNavigationTargetResolver
 Pure snap-mode navigation target resolver. More...

Namespaces

namespace  PhosphorZones
namespace  PhosphorScreens
namespace  PhosphorEngine
namespace  PhosphorSnapEngine

Functions

PHOSPHORSNAPENGINE_EXPORT bool PhosphorSnapEngine::isStoredScreenValid (PhosphorScreens::ScreenManager *mgr, const QString &storedScreen)
 True when storedScreen still resolves on the live screen set, judged by mgr: a physical id must be a screen it tracks, and a virtual id must be in its effective screen list (which also drops a stale id after a config removal).
QString PhosphorSnapEngine::oppositeCrossingDirection (const QString &direction)
 The edge a neighbour surface is entered from when crossing in direction: crossing "right" lands on the neighbour's LEFT edge, "down" on its TOP, etc.