Changeset View
Changeset View
Standalone View
Standalone View
platform.h
Show All 34 Lines | 34 | namespace Server { | |||
---|---|---|---|---|---|
35 | class OutputConfigurationInterface; | 35 | class OutputConfigurationInterface; | ||
36 | } | 36 | } | ||
37 | } | 37 | } | ||
38 | 38 | | |||
39 | namespace KWin | 39 | namespace KWin | ||
40 | { | 40 | { | ||
41 | 41 | | |||
42 | class Edge; | 42 | class Edge; | ||
43 | class OverlayWindow; | ||||
43 | class OpenGLBackend; | 44 | class OpenGLBackend; | ||
44 | class QPainterBackend; | 45 | class QPainterBackend; | ||
45 | class Screens; | 46 | class Screens; | ||
46 | class ScreenEdges; | 47 | class ScreenEdges; | ||
47 | class Toplevel; | 48 | class Toplevel; | ||
48 | class WaylandCursorTheme; | 49 | class WaylandCursorTheme; | ||
49 | 50 | | |||
50 | class KWIN_EXPORT Platform : public QObject | 51 | class KWIN_EXPORT Platform : public QObject | ||
▲ Show 20 Lines • Show All 245 Lines • ▼ Show 20 Line(s) | 54 | public: | |||
296 | } | 297 | } | ||
297 | qreal initialOutputScale() const { | 298 | qreal initialOutputScale() const { | ||
298 | return m_initialOutputScale; | 299 | return m_initialOutputScale; | ||
299 | } | 300 | } | ||
300 | void setInitialOutputScale(qreal scale) { | 301 | void setInitialOutputScale(qreal scale) { | ||
301 | m_initialOutputScale = scale; | 302 | m_initialOutputScale = scale; | ||
302 | } | 303 | } | ||
303 | 304 | | |||
305 | /** | ||||
306 | * Creates the OverlayWindow required for X11 based compositors. | ||||
307 | * Default implementation returns @c nullptr. | ||||
308 | **/ | ||||
309 | virtual OverlayWindow *createOverlayWindow(); | ||||
310 | | ||||
304 | public Q_SLOTS: | 311 | public Q_SLOTS: | ||
305 | void pointerMotion(const QPointF &position, quint32 time); | 312 | void pointerMotion(const QPointF &position, quint32 time); | ||
306 | void pointerButtonPressed(quint32 button, quint32 time); | 313 | void pointerButtonPressed(quint32 button, quint32 time); | ||
307 | void pointerButtonReleased(quint32 button, quint32 time); | 314 | void pointerButtonReleased(quint32 button, quint32 time); | ||
308 | void pointerAxisHorizontal(qreal delta, quint32 time); | 315 | void pointerAxisHorizontal(qreal delta, quint32 time); | ||
309 | void pointerAxisVertical(qreal delta, quint32 time); | 316 | void pointerAxisVertical(qreal delta, quint32 time); | ||
310 | void keyboardKeyPressed(quint32 key, quint32 time); | 317 | void keyboardKeyPressed(quint32 key, quint32 time); | ||
311 | void keyboardKeyReleased(quint32 key, quint32 time); | 318 | void keyboardKeyReleased(quint32 key, quint32 time); | ||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |