6#include "phosphorscreenscore_export.h"
virtual Offsets currentOffsets(QScreen *screen) const =0
Snapshot for a given screen.
virtual void stop()=0
Stop watching.
~IPanelSource() override=default
virtual void start()=0
Begin watching.
void panelOffsetsChanged(QScreen *screen)
Offsets for screen changed.
virtual bool ready() const =0
Has any successful query landed?
IPanelSource(QObject *parent=nullptr)
Definition IPanelSource.h:53
void requeryCompleted()
A requestRequery cycle completed.
virtual void requestRequery(int delayMs=0)=0
Best-effort: ask the backend to re-query immediately, optionally after a short delay (e....
Definition IWindowTrackingService.h:28
Per-edge reserved geometry, in physical pixels relative to the screen's top-left.
Definition IPanelSource.h:40
int left
Definition IPanelSource.h:43
int right
Definition IPanelSource.h:44
int bottom
Definition IPanelSource.h:42
int top
Definition IPanelSource.h:41
bool isZero() const noexcept
Definition IPanelSource.h:46
bool operator==(const Offsets &) const =default