mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-19 21:13:12 -07:00
Add Fullscreen Mode on F11 (Fix #9)
This commit is contained in:
parent
94431ab704
commit
8f539cc3fa
2 changed files with 41 additions and 13 deletions
|
@ -38,6 +38,8 @@ class StreamWindow: public QMainWindow
|
|||
|
||||
AVOpenGLWidget *av_widget;
|
||||
|
||||
void Init(const StreamSessionConnectInfo &connect_info);
|
||||
|
||||
protected:
|
||||
void keyPressEvent(QKeyEvent *event) override;
|
||||
void keyReleaseEvent(QKeyEvent *event) override;
|
||||
|
@ -45,6 +47,7 @@ class StreamWindow: public QMainWindow
|
|||
|
||||
private slots:
|
||||
void SessionQuit(ChiakiQuitReason reason, const QString &reason_str);
|
||||
void ToggleFullscreen();
|
||||
};
|
||||
|
||||
#endif // CHIAKI_GUI_STREAMWINDOW_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue