Changeset View
Changeset View
Standalone View
Standalone View
src/client/outputconfiguration.h
Show First 20 Lines • Show All 182 Lines • ▼ Show 20 Line(s) | 100 | public: | |||
---|---|---|---|---|---|
183 | * OutputDevice and only applied after apply() has been called. | 183 | * OutputDevice and only applied after apply() has been called. | ||
184 | * | 184 | * | ||
185 | * @param outputdevice the OutputDevice this change applies to. | 185 | * @param outputdevice the OutputDevice this change applies to. | ||
186 | * @param pos the OutputDevice global position relative to other outputs, | 186 | * @param pos the OutputDevice global position relative to other outputs, | ||
187 | * | 187 | * | ||
188 | */ | 188 | */ | ||
189 | void setPosition(OutputDevice *outputdevice, const QPoint &pos); | 189 | void setPosition(OutputDevice *outputdevice, const QPoint &pos); | ||
190 | 190 | | |||
191 | #if KWAYLANDCLIENT_ENABLE_DEPRECATED_SINCE(5, 50) | ||||
191 | /** | 192 | /** | ||
192 | * Scale rendering of this output. | 193 | * Scale rendering of this output. | ||
193 | * The changes done in this call will be recorded in the | 194 | * The changes done in this call will be recorded in the | ||
194 | * OutputDevice and only applied after apply() has been called. | 195 | * OutputDevice and only applied after apply() has been called. | ||
195 | * @deprecated see setScaleF(qreal) | | |||
196 | * | 196 | * | ||
197 | * @param scale the scaling factor for this output device. | 197 | * @param scale the scaling factor for this output device. | ||
198 | * @param outputdevice the OutputDevice this change applies to. | 198 | * @param outputdevice the OutputDevice this change applies to. | ||
199 | * @deprecated Since 5.50, use setScaleF(OutputDevice *, qreal) | ||||
199 | */ | 200 | */ | ||
201 | KWAYLANDCLIENT_DEPRECATED_VERSION(5, 50, "Use OutputConfiguration::setScaleF(OutputDevice *, qreal)") | ||||
200 | void setScale(OutputDevice *outputdevice, qint32 scale); | 202 | void setScale(OutputDevice *outputdevice, qint32 scale); | ||
203 | #endif | ||||
201 | 204 | | |||
202 | /** | 205 | /** | ||
203 | * Scale rendering of this output. | 206 | * Scale rendering of this output. | ||
204 | * The changes done in this call will be recorded in the | 207 | * The changes done in this call will be recorded in the | ||
205 | * OutputDevice and only applied after apply() has been called. | 208 | * OutputDevice and only applied after apply() has been called. | ||
206 | * | 209 | * | ||
207 | * @param scale the scaling factor for this output device. | 210 | * @param scale the scaling factor for this output device. | ||
208 | * @param outputdevice the OutputDevice this change applies to. | 211 | * @param outputdevice the OutputDevice this change applies to. | ||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |