dolphin/Source/Core/DolphinQt2/RenderWidget.h

29 lines
511 B
C
Raw Normal View History

2015-11-27 01:33:07 -07:00
// 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
2015-11-27 01:33:07 -07:00
public:
explicit RenderWidget(QWidget* parent = nullptr);
2015-11-27 01:33:07 -07:00
bool event(QEvent* event);
2015-11-27 01:33:07 -07:00
signals:
void EscapePressed();
void Closed();
void HandleChanged(void* handle);
void FocusChanged(bool focus);
void StateChanged(bool fullscreen);
2017-06-01 00:49:21 -06:00
private:
void OnHideCursorChanged();
2015-11-27 01:33:07 -07:00
};