File indexing completed on 2024-12-01 05:02:02
0001 /* 0002 KWin - the KDE window manager 0003 This file is part of the KDE project. 0004 0005 SPDX-FileCopyrightText: 2022 Xaver Hugl <xaver.hugl@gmail.com> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 #pragma once 0010 0011 #include "core/output.h" 0012 0013 class FakeOutput : public KWin::Output 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 FakeOutput(); 0019 0020 KWin::RenderLoop *renderLoop() const override; 0021 void setName(const QString &name); 0022 void setManufacturer(const QString &manufacturer); 0023 void setModel(const QString &model); 0024 void setMode(QSize size, uint32_t refreshRate); 0025 void setSubPixel(SubPixel subPixel); 0026 void setDpmsSupported(bool supported); 0027 void setPhysicalSize(QSize size); 0028 void setTransform(KWin::OutputTransform transform); 0029 void moveTo(const QPoint &pos); 0030 void setScale(qreal scale); 0031 };