Changeset View
Changeset View
Standalone View
Standalone View
platform.h
Show First 20 Lines • Show All 406 Lines • ▼ Show 20 Line(s) | 405 | virtual int gammaRampSize(int screen) const { | |||
---|---|---|---|---|---|
407 | return 0; | 407 | return 0; | ||
408 | } | 408 | } | ||
409 | virtual bool setGammaRamp(int screen, ColorCorrect::GammaRamp &gamma) { | 409 | virtual bool setGammaRamp(int screen, ColorCorrect::GammaRamp &gamma) { | ||
410 | Q_UNUSED(screen); | 410 | Q_UNUSED(screen); | ||
411 | Q_UNUSED(gamma); | 411 | Q_UNUSED(gamma); | ||
412 | return false; | 412 | return false; | ||
413 | } | 413 | } | ||
414 | 414 | | |||
415 | // outputs with connections (org_kde_kwin_outputdevice) | | |||
416 | QVector<Output*> outputs() const { | | |||
417 | return m_outputs; | | |||
418 | } | | |||
419 | // actively compositing outputs (wl_output) | | |||
420 | QVector<Output*> enabledOutputs() const { | | |||
421 | return m_enabledOutputs; | | |||
422 | } | | |||
423 | | ||||
424 | /* | 415 | /* | ||
425 | * A string of information to include in kwin debug output | 416 | * A string of information to include in kwin debug output | ||
426 | * It should not be translated. | 417 | * It should not be translated. | ||
427 | * | 418 | * | ||
428 | * The base implementation prints the name. | 419 | * The base implementation prints the name. | ||
429 | * @since 5.12 | 420 | * @since 5.12 | ||
430 | */ | 421 | */ | ||
431 | virtual QString supportInformation() const; | 422 | virtual QString supportInformation() const; | ||
432 | 423 | | |||
424 | // outputs with connections (org_kde_kwin_outputdevice) | ||||
425 | QVector<Output*> outputs() const { | ||||
426 | return m_outputs; | ||||
427 | } | ||||
428 | // actively compositing outputs (wl_output) | ||||
429 | QVector<Output*> enabledOutputs() const { | ||||
430 | return m_enabledOutputs; | ||||
431 | } | ||||
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); | ||
439 | void keyboardKeyPressed(quint32 key, quint32 time); | 439 | void keyboardKeyPressed(quint32 key, quint32 time); | ||
440 | void keyboardKeyReleased(quint32 key, quint32 time); | 440 | void keyboardKeyReleased(quint32 key, quint32 time); | ||
▲ Show 20 Lines • Show All 104 Lines • Show Last 20 Lines |