KWin
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
KWin::PointerInterfacePrivate Class Reference

#include <pointer_p.h>

Inheritance diagram for KWin::PointerInterfacePrivate:

Public Member Functions

 PointerInterfacePrivate (PointerInterface *q, SeatInterface *seat)
 
 ~PointerInterfacePrivate () override
 
QList< Resource * > pointersForClient (ClientConnection *client) const
 
void sendLeave (quint32 serial)
 
void sendEnter (const QPointF &parentSurfacePosition, quint32 serial)
 
void sendFrame ()
 

Static Public Member Functions

static PointerInterfacePrivateget (PointerInterface *pointer)
 

Public Attributes

PointerInterfaceq
 
SeatInterfaceseat
 
SurfaceInterfacefocusedSurface = nullptr
 
quint32 focusedSerial = 0
 
QMetaObject::Connection destroyConnection
 
std::unique_ptr< PointerSurfaceCursorcursor
 
std::unique_ptr< RelativePointerV1InterfacerelativePointersV1
 
std::unique_ptr< PointerSwipeGestureV1InterfaceswipeGesturesV1
 
std::unique_ptr< PointerPinchGestureV1InterfacepinchGesturesV1
 
std::unique_ptr< PointerHoldGestureV1InterfaceholdGesturesV1
 
QPointF lastPosition
 
AxisAccumulator axisAccumulator
 

Protected Member Functions

void pointer_set_cursor (Resource *resource, uint32_t serial, ::wl_resource *surface_resource, int32_t hotspot_x, int32_t hotspot_y) override
 
void pointer_release (Resource *resource) override
 
void pointer_bind_resource (Resource *resource) override
 

Detailed Description

Definition at line 26 of file pointer_p.h.

Constructor & Destructor Documentation

◆ PointerInterfacePrivate()

KWin::PointerInterfacePrivate::PointerInterfacePrivate ( PointerInterface * q,
SeatInterface * seat )

Definition at line 34 of file pointer.cpp.

◆ ~PointerInterfacePrivate()

KWin::PointerInterfacePrivate::~PointerInterfacePrivate ( )
override

Definition at line 44 of file pointer.cpp.

Member Function Documentation

◆ get()

PointerInterfacePrivate * KWin::PointerInterfacePrivate::get ( PointerInterface * pointer)
static

Definition at line 29 of file pointer.cpp.

◆ pointer_bind_resource()

void KWin::PointerInterfacePrivate::pointer_bind_resource ( Resource * resource)
overrideprotected

Definition at line 100 of file pointer.cpp.

◆ pointer_release()

void KWin::PointerInterfacePrivate::pointer_release ( Resource * resource)
overrideprotected

Definition at line 95 of file pointer.cpp.

◆ pointer_set_cursor()

void KWin::PointerInterfacePrivate::pointer_set_cursor ( Resource * resource,
uint32_t serial,
::wl_resource * surface_resource,
int32_t hotspot_x,
int32_t hotspot_y )
overrideprotected

Definition at line 53 of file pointer.cpp.

◆ pointersForClient()

QList< PointerInterfacePrivate::Resource * > KWin::PointerInterfacePrivate::pointersForClient ( ClientConnection * client) const

Definition at line 48 of file pointer.cpp.

◆ sendEnter()

void KWin::PointerInterfacePrivate::sendEnter ( const QPointF & parentSurfacePosition,
quint32 serial )

Definition at line 121 of file pointer.cpp.

◆ sendFrame()

void KWin::PointerInterfacePrivate::sendFrame ( )

Definition at line 129 of file pointer.cpp.

◆ sendLeave()

void KWin::PointerInterfacePrivate::sendLeave ( quint32 serial)

Definition at line 113 of file pointer.cpp.

Member Data Documentation

◆ axisAccumulator

AxisAccumulator KWin::PointerInterfacePrivate::axisAccumulator

Definition at line 75 of file pointer_p.h.

◆ cursor

std::unique_ptr<PointerSurfaceCursor> KWin::PointerInterfacePrivate::cursor

Definition at line 69 of file pointer_p.h.

◆ destroyConnection

QMetaObject::Connection KWin::PointerInterfacePrivate::destroyConnection

Definition at line 68 of file pointer_p.h.

◆ focusedSerial

quint32 KWin::PointerInterfacePrivate::focusedSerial = 0

Definition at line 67 of file pointer_p.h.

◆ focusedSurface

SurfaceInterface* KWin::PointerInterfacePrivate::focusedSurface = nullptr

Definition at line 66 of file pointer_p.h.

◆ holdGesturesV1

std::unique_ptr<PointerHoldGestureV1Interface> KWin::PointerInterfacePrivate::holdGesturesV1

Definition at line 73 of file pointer_p.h.

◆ lastPosition

QPointF KWin::PointerInterfacePrivate::lastPosition

Definition at line 74 of file pointer_p.h.

◆ pinchGesturesV1

std::unique_ptr<PointerPinchGestureV1Interface> KWin::PointerInterfacePrivate::pinchGesturesV1

Definition at line 72 of file pointer_p.h.

◆ q

PointerInterface* KWin::PointerInterfacePrivate::q

Definition at line 64 of file pointer_p.h.

◆ relativePointersV1

std::unique_ptr<RelativePointerV1Interface> KWin::PointerInterfacePrivate::relativePointersV1

Definition at line 70 of file pointer_p.h.

◆ seat

SeatInterface* KWin::PointerInterfacePrivate::seat

Definition at line 65 of file pointer_p.h.

◆ swipeGesturesV1

std::unique_ptr<PointerSwipeGestureV1Interface> KWin::PointerInterfacePrivate::swipeGesturesV1

Definition at line 71 of file pointer_p.h.


The documentation for this class was generated from the following files: