summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/RenderWidget.h
blob: 1225571661a3d93e584be958e16e2ce9e1f6aa8f (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);
};