mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-15 10:25:59 +01:00
016da234d0
Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
39 lines
No EOL
985 B
C++
39 lines
No EOL
985 B
C++
#pragma once
|
|
|
|
#include "IPointer.hpp"
|
|
|
|
class CVirtualPointerV1Resource;
|
|
|
|
class CVirtualPointer : public IPointer {
|
|
public:
|
|
static SP<CVirtualPointer> create(SP<CVirtualPointerV1Resource> resource);
|
|
|
|
virtual bool isVirtual();
|
|
virtual SP<Aquamarine::IPointer> aq();
|
|
|
|
private:
|
|
CVirtualPointer(SP<CVirtualPointerV1Resource>);
|
|
|
|
WP<CVirtualPointerV1Resource> pointer;
|
|
|
|
struct {
|
|
CHyprSignalListener destroy;
|
|
|
|
CHyprSignalListener motion;
|
|
CHyprSignalListener motionAbsolute;
|
|
CHyprSignalListener button;
|
|
CHyprSignalListener axis;
|
|
CHyprSignalListener frame;
|
|
|
|
CHyprSignalListener swipeBegin;
|
|
CHyprSignalListener swipeEnd;
|
|
CHyprSignalListener swipeUpdate;
|
|
|
|
CHyprSignalListener pinchBegin;
|
|
CHyprSignalListener pinchEnd;
|
|
CHyprSignalListener pinchUpdate;
|
|
|
|
CHyprSignalListener holdBegin;
|
|
CHyprSignalListener holdEnd;
|
|
} listeners;
|
|
}; |