Changeset View
Changeset View
Standalone View
Standalone View
platform.h
Show All 16 Lines | |||||
17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License | ||
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | #ifndef KWIN_PLATFORM_H | 20 | #ifndef KWIN_PLATFORM_H | ||
21 | #define KWIN_PLATFORM_H | 21 | #define KWIN_PLATFORM_H | ||
22 | #include <kwin_export.h> | 22 | #include <kwin_export.h> | ||
23 | #include <kwinglobals.h> | 23 | #include <kwinglobals.h> | ||
24 | #include <epoxy/egl.h> | 24 | #include <epoxy/egl.h> | ||
25 | #include <fixx11h.h> | ||||
25 | #include "fixqopengl.h" | 26 | #include "fixqopengl.h" | ||
27 | #include "input.h" | ||||
26 | 28 | | |||
27 | #include <fixx11h.h> | | |||
28 | #include <QImage> | 29 | #include <QImage> | ||
29 | #include <QObject> | 30 | #include <QObject> | ||
30 | 31 | | |||
31 | #include <functional> | 32 | #include <functional> | ||
32 | 33 | | |||
33 | class QAction; | 34 | class QAction; | ||
34 | 35 | | |||
35 | namespace KWayland { | 36 | namespace KWayland { | ||
▲ Show 20 Lines • Show All 412 Lines • ▼ Show 20 Line(s) | 82 | public: | |||
448 | { | 449 | { | ||
449 | m_selectedCompositor = type; | 450 | m_selectedCompositor = type; | ||
450 | } | 451 | } | ||
451 | 452 | | |||
452 | public Q_SLOTS: | 453 | public Q_SLOTS: | ||
453 | void pointerMotion(const QPointF &position, quint32 time); | 454 | void pointerMotion(const QPointF &position, quint32 time); | ||
454 | void pointerButtonPressed(quint32 button, quint32 time); | 455 | void pointerButtonPressed(quint32 button, quint32 time); | ||
455 | void pointerButtonReleased(quint32 button, quint32 time); | 456 | void pointerButtonReleased(quint32 button, quint32 time); | ||
456 | void pointerAxisHorizontal(qreal delta, quint32 time); | 457 | void pointerAxisHorizontal(qreal delta, quint32 time, qint32 discreteDelta = 0, | ||
457 | void pointerAxisVertical(qreal delta, quint32 time); | 458 | InputRedirection::PointerAxisSource source = InputRedirection::PointerAxisSourceUnknown); | ||
459 | void pointerAxisVertical(qreal delta, quint32 time, qint32 discreteDelta = 0, | ||||
460 | InputRedirection::PointerAxisSource source = InputRedirection::PointerAxisSourceUnknown); | ||||
458 | void keyboardKeyPressed(quint32 key, quint32 time); | 461 | void keyboardKeyPressed(quint32 key, quint32 time); | ||
459 | void keyboardKeyReleased(quint32 key, quint32 time); | 462 | void keyboardKeyReleased(quint32 key, quint32 time); | ||
460 | void keyboardModifiers(uint32_t modsDepressed, uint32_t modsLatched, uint32_t modsLocked, uint32_t group); | 463 | void keyboardModifiers(uint32_t modsDepressed, uint32_t modsLatched, uint32_t modsLocked, uint32_t group); | ||
461 | void keymapChange(int fd, uint32_t size); | 464 | void keymapChange(int fd, uint32_t size); | ||
462 | void touchDown(qint32 id, const QPointF &pos, quint32 time); | 465 | void touchDown(qint32 id, const QPointF &pos, quint32 time); | ||
463 | void touchUp(qint32 id, quint32 time); | 466 | void touchUp(qint32 id, quint32 time); | ||
464 | void touchMotion(qint32 id, const QPointF &pos, quint32 time); | 467 | void touchMotion(qint32 id, const QPointF &pos, quint32 time); | ||
465 | void touchCancel(); | 468 | void touchCancel(); | ||
▲ Show 20 Lines • Show All 95 Lines • Show Last 20 Lines |