mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-07 14:54:17 +00:00
d2ebfd0519
Screw the description like that inbred T3Q
25 lines
478 B
C++
25 lines
478 B
C++
/*
|
|
SPDX-FileCopyrightText: 2014 Weng Xuetian <wengxt@gmail.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
*/
|
|
|
|
#ifndef SCREEN_H
|
|
#define SCREEN_H
|
|
|
|
#include <QObject>
|
|
#include <QRect>
|
|
|
|
class Screen : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
Screen(QObject *parent = nullptr);
|
|
~Screen() override;
|
|
|
|
Q_INVOKABLE QRect geometryForPoint(int x, int y);
|
|
Q_INVOKABLE qreal devicePixelRatioForPoint(int x, int y);
|
|
};
|
|
|
|
#endif
|