Changeset View
Changeset View
Standalone View
Standalone View
platform.h
Show First 20 Lines • Show All 168 Lines • ▼ Show 20 Line(s) | 81 | public: | |||
---|---|---|---|---|---|
169 | **/ | 169 | **/ | ||
170 | virtual QVector<qreal> screenScales() const; | 170 | virtual QVector<qreal> screenScales() const; | ||
171 | /** | 171 | /** | ||
172 | * Implement this method to receive configuration change requests through KWayland's | 172 | * Implement this method to receive configuration change requests through KWayland's | ||
173 | * OutputManagement interface. | 173 | * OutputManagement interface. | ||
174 | * | 174 | * | ||
175 | * Base implementation warns that the current backend does not implement this | 175 | * Base implementation warns that the current backend does not implement this | ||
176 | * functionality. | 176 | * functionality. | ||
177 | */ | 177 | **/ | ||
178 | virtual void configurationChangeRequested(KWayland::Server::OutputConfigurationInterface *config); | 178 | virtual void configurationChangeRequested(KWayland::Server::OutputConfigurationInterface *config); | ||
179 | 179 | | |||
180 | /** | 180 | /** | ||
181 | * Whether the Platform requires compositing for rendering. | 181 | * Whether the Platform requires compositing for rendering. | ||
182 | * Default implementation returns @c true. If the implementing Platform allows to be used | 182 | * Default implementation returns @c true. If the implementing Platform allows to be used | ||
183 | * without compositing (e.g. rendering is done by the windowing system), re-implement this method. | 183 | * without compositing (e.g. rendering is done by the windowing system), re-implement this method. | ||
184 | **/ | 184 | **/ | ||
185 | virtual bool requiresCompositing() const; | 185 | virtual bool requiresCompositing() const; | ||
▲ Show 20 Lines • Show All 230 Lines • ▼ Show 20 Line(s) | |||||
416 | virtual Outputs outputs() const { | 416 | virtual Outputs outputs() const { | ||
417 | return Outputs(); | 417 | return Outputs(); | ||
418 | } | 418 | } | ||
419 | // actively compositing outputs (wl_output) | 419 | // actively compositing outputs (wl_output) | ||
420 | virtual Outputs enabledOutputs() const { | 420 | virtual Outputs enabledOutputs() const { | ||
421 | return Outputs(); | 421 | return Outputs(); | ||
422 | } | 422 | } | ||
423 | 423 | | |||
424 | /* | 424 | /** | ||
425 | * A string of information to include in kwin debug output | 425 | * A string of information to include in kwin debug output | ||
426 | * It should not be translated. | 426 | * It should not be translated. | ||
427 | * | 427 | * | ||
428 | * The base implementation prints the name. | 428 | * The base implementation prints the name. | ||
429 | * @since 5.12 | 429 | * @since 5.12 | ||
430 | */ | 430 | **/ | ||
431 | virtual QString supportInformation() const; | 431 | virtual QString supportInformation() const; | ||
432 | 432 | | |||
433 | public Q_SLOTS: | 433 | public Q_SLOTS: | ||
434 | void pointerMotion(const QPointF &position, quint32 time); | 434 | void pointerMotion(const QPointF &position, quint32 time); | ||
435 | void pointerButtonPressed(quint32 button, quint32 time); | 435 | void pointerButtonPressed(quint32 button, quint32 time); | ||
436 | void pointerButtonReleased(quint32 button, quint32 time); | 436 | void pointerButtonReleased(quint32 button, quint32 time); | ||
437 | void pointerAxisHorizontal(qreal delta, quint32 time); | 437 | void pointerAxisHorizontal(qreal delta, quint32 time); | ||
438 | void pointerAxisVertical(qreal delta, quint32 time); | 438 | void pointerAxisVertical(qreal delta, quint32 time); | ||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |