Changeset View
Changeset View
Standalone View
Standalone View
platform.h
Show First 20 Lines • Show All 302 Lines • ▼ Show 20 Line(s) | 54 | public: | |||
---|---|---|---|---|---|
303 | } | 303 | } | ||
304 | 304 | | |||
305 | /** | 305 | /** | ||
306 | * Creates the OverlayWindow required for X11 based compositors. | 306 | * Creates the OverlayWindow required for X11 based compositors. | ||
307 | * Default implementation returns @c nullptr. | 307 | * Default implementation returns @c nullptr. | ||
308 | **/ | 308 | **/ | ||
309 | virtual OverlayWindow *createOverlayWindow(); | 309 | virtual OverlayWindow *createOverlayWindow(); | ||
310 | 310 | | |||
311 | /** | ||||
312 | * Allows a platform to update the X11 timestamp. | ||||
313 | * Mostly for the X11 standalone platform to interact with QX11Info. | ||||
314 | * | ||||
315 | * Default implementation does nothing. This means code relying on the X timestamp being up to date, | ||||
316 | * might not be working. E.g. synced X11 window resizing | ||||
317 | **/ | ||||
318 | virtual void updateXTime(); | ||||
319 | | ||||
311 | public Q_SLOTS: | 320 | public Q_SLOTS: | ||
312 | void pointerMotion(const QPointF &position, quint32 time); | 321 | void pointerMotion(const QPointF &position, quint32 time); | ||
313 | void pointerButtonPressed(quint32 button, quint32 time); | 322 | void pointerButtonPressed(quint32 button, quint32 time); | ||
314 | void pointerButtonReleased(quint32 button, quint32 time); | 323 | void pointerButtonReleased(quint32 button, quint32 time); | ||
315 | void pointerAxisHorizontal(qreal delta, quint32 time); | 324 | void pointerAxisHorizontal(qreal delta, quint32 time); | ||
316 | void pointerAxisVertical(qreal delta, quint32 time); | 325 | void pointerAxisVertical(qreal delta, quint32 time); | ||
317 | void keyboardKeyPressed(quint32 key, quint32 time); | 326 | void keyboardKeyPressed(quint32 key, quint32 time); | ||
318 | void keyboardKeyReleased(quint32 key, quint32 time); | 327 | void keyboardKeyReleased(quint32 key, quint32 time); | ||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |