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: a physical id must be connected; a virtual id additionally needs its backing physical output present AND continued membership in mgr's effective screen list (guards against stale ids 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.