mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
29 lines
511 B
C++
29 lines
511 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:
|
|
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);
|
|
|
|
private:
|
|
void OnHideCursorChanged();
|
|
};
|