]> git.sesse.net Git - nageru/blobdiff - futatabi/mainwindow.h
Make the number of cameras dynamic as the frames come in.
[nageru] / futatabi / mainwindow.h
index 97f0f296aef8638372635b13b14d0be019e2a923..8492eb34d09fed7172504e0aaf5c17058830f5d3 100644 (file)
@@ -43,6 +43,7 @@ private:
        QLabel *disk_free_label;
        std::unique_ptr<Player> preview_player, live_player;
        DB db;
+       unsigned num_cameras;
 
        // State when doing a scrub operation on a timestamp with the mouse.
        bool scrubbing = false;
@@ -87,6 +88,7 @@ private:
        };
        std::vector<FrameAndDisplay> displays;
 
+       void change_num_cameras();
        void cue_in_clicked();
        void cue_out_clicked();
        void queue_clicked();