Changeset View
Changeset View
Standalone View
Standalone View
abstract_output.h
Show All 21 Lines | |||||
22 | 22 | | |||
23 | #include <kwin_export.h> | 23 | #include <kwin_export.h> | ||
24 | 24 | | |||
25 | #include <QObject> | 25 | #include <QObject> | ||
26 | #include <QRect> | 26 | #include <QRect> | ||
27 | #include <QSize> | 27 | #include <QSize> | ||
28 | #include <QVector> | 28 | #include <QVector> | ||
29 | 29 | | |||
30 | namespace KWayland | 30 | namespace KWaylandServer | ||
31 | { | | |||
32 | namespace Server | | |||
33 | { | 31 | { | ||
34 | class OutputChangeSet; | 32 | class OutputChangeSet; | ||
35 | } | 33 | } | ||
36 | } | | |||
37 | 34 | | |||
38 | namespace KWin | 35 | namespace KWin | ||
39 | { | 36 | { | ||
40 | 37 | | |||
41 | class KWIN_EXPORT GammaRamp | 38 | class KWIN_EXPORT GammaRamp | ||
42 | { | 39 | { | ||
43 | public: | 40 | public: | ||
44 | GammaRamp(uint32_t size); | 41 | GammaRamp(uint32_t size); | ||
▲ Show 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | 99 | public: | |||
122 | */ | 119 | */ | ||
123 | virtual void setEnabled(bool enable); | 120 | virtual void setEnabled(bool enable); | ||
124 | 121 | | |||
125 | /** | 122 | /** | ||
126 | * This sets the changes and tests them against the specific output. | 123 | * This sets the changes and tests them against the specific output. | ||
127 | * | 124 | * | ||
128 | * Default implementation does nothing | 125 | * Default implementation does nothing | ||
129 | */ | 126 | */ | ||
130 | virtual void applyChanges(const KWayland::Server::OutputChangeSet *changeSet); | 127 | virtual void applyChanges(const KWaylandServer::OutputChangeSet *changeSet); | ||
131 | 128 | | |||
132 | /** | 129 | /** | ||
133 | * Returns geometry of this output in device independent pixels. | 130 | * Returns geometry of this output in device independent pixels. | ||
134 | */ | 131 | */ | ||
135 | virtual QRect geometry() const = 0; | 132 | virtual QRect geometry() const = 0; | ||
136 | 133 | | |||
137 | /** | 134 | /** | ||
138 | * Returns the approximate vertical refresh rate of this output, in mHz. | 135 | * Returns the approximate vertical refresh rate of this output, in mHz. | ||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |