summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/RenderWidget.h
blob: dcd2b8a6a9d7ba2e989af1660ac8ab6ad71fb3a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2015 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

#pragma once

#include <QEvent>
#include <QWidget>

class RenderWidget final : public QWidget
{
	Q_OBJECT

public:
	explicit RenderWidget(QWidget* parent = nullptr);

	bool event(QEvent* event);

signals:
	void EscapePressed();
	void Closed();
	void HandleChanged(void* handle);
	void FocusChanged(bool focus);
	void StateChanged(bool fullscreen);
};