26 lines
454 B
C
26 lines
454 B
C
|
// 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:
|
||
|
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);
|
||
|
};
|