]> git.sesse.net Git - nageru/blob - mainwindow.h
Convert Y'CbCr using Movit instead of in software with Qt. Saves a fair amount of...
[nageru] / mainwindow.h
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
3
4 #include <stdbool.h>
5 #include <sys/types.h>
6 #include <QMainWindow>
7
8 namespace Ui {
9 class MainWindow;
10 }  // namespace Ui
11
12 class Player;
13
14 class MainWindow : public QMainWindow
15 {
16         Q_OBJECT
17
18 public:
19         MainWindow();
20
21 //private:
22         Ui::MainWindow *ui;
23
24 private:
25         Player *preview_player, *live_player;
26
27         void queue_clicked();
28         void preview_clicked();
29         void play_clicked();
30         void live_player_clip_done();
31
32         void resizeEvent(QResizeEvent *event) override;
33
34 private slots:
35         void relayout();
36 };
37
38 extern MainWindow *global_mainwindow;
39
40 #endif
41