You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
806 B
C
32 lines
806 B
C
2 years ago
|
/*
|
||
|
KWin - the KDE window manager
|
||
|
This file is part of the KDE project.
|
||
|
|
||
|
SPDX-FileCopyrightText: 2022 Xaver Hugl <xaver.hugl@gmail.com>
|
||
|
|
||
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
*/
|
||
|
#pragma once
|
||
|
|
||
2 years ago
|
#include "core/output.h"
|
||
2 years ago
|
|
||
|
class FakeOutput : public KWin::Output
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
FakeOutput();
|
||
|
|
||
|
KWin::RenderLoop *renderLoop() const override;
|
||
2 years ago
|
void setName(const QString &name);
|
||
|
void setManufacturer(const QString &manufacturer);
|
||
|
void setModel(const QString &model);
|
||
2 years ago
|
void setMode(QSize size, uint32_t refreshRate);
|
||
|
void setSubPixel(SubPixel subPixel);
|
||
|
void setDpmsSupported(bool supported);
|
||
|
void setPhysicalSize(QSize size);
|
||
1 year ago
|
void setTransform(KWin::OutputTransform transform);
|
||
2 years ago
|
void moveTo(const QPoint &pos);
|
||
|
void setScale(qreal scale);
|
||
2 years ago
|
};
|