blob: 9d3c5ec4e3a8f38354e237b9cd8aeefeb74a2a66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (C) 2015 LG Electronics Ltd, author: <mikko.levonmaa@lge.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef SHMWINDOW_H
#define SHMWINDOW_H
#include <QtGui>
class ShmWindow : public QRasterWindow
{
Q_OBJECT
public:
explicit ShmWindow(QWindow *parent);
protected:
void paintEvent(QPaintEvent *event) override;
void timerEvent(QTimerEvent *) override;
private:
int m_rotation;
int m_timer;
};
#endif // SHMWINDOW_H
|