2022-08-25 08:02:48 +00:00
|
|
|
/*
|
|
|
|
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
|
|
|
|
|
2022-08-29 07:55:49 +00:00
|
|
|
#include "core/output.h"
|
2022-08-25 08:02:48 +00:00
|
|
|
|
|
|
|
class FakeOutput : public KWin::Output
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
FakeOutput();
|
|
|
|
|
|
|
|
KWin::RenderLoop *renderLoop() const override;
|
2022-10-20 09:15:47 +00:00
|
|
|
void setName(const QString &name);
|
|
|
|
void setManufacturer(const QString &manufacturer);
|
|
|
|
void setModel(const QString &model);
|
2022-08-25 08:02:48 +00:00
|
|
|
void setMode(QSize size, uint32_t refreshRate);
|
|
|
|
void setSubPixel(SubPixel subPixel);
|
|
|
|
void setDpmsSupported(bool supported);
|
|
|
|
void setPhysicalSize(QSize size);
|
2023-07-10 10:33:09 +00:00
|
|
|
void setTransform(KWin::OutputTransform transform);
|
2022-08-19 08:29:43 +00:00
|
|
|
void moveTo(const QPoint &pos);
|
|
|
|
void setScale(qreal scale);
|
2022-08-25 08:02:48 +00:00
|
|
|
};
|