X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mainwindow.h;h=24eea609e03bbdf24049018b03cb9193b15cfa38;hb=0c3bfa8f2fb956efce124dea05e006231603c333;hp=76124ae63fbb1e6518986dd1e7bc54fff00b3c30;hpb=83f00b3618fa1cb4527b59f6e2d2f8d3f52cc25a;p=nageru diff --git a/mainwindow.h b/mainwindow.h index 76124ae..24eea60 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -36,6 +36,10 @@ private: int scrub_row; int scrub_column; + // Used to keep track of small mouse wheel motions on the camera index in the playlist. + int last_mousewheel_camera_row = -1; + int leftover_angle_degrees = 0; + void cue_in_clicked(); void cue_out_clicked(); void queue_clicked(); @@ -43,10 +47,17 @@ private: void preview_angle_clicked(unsigned stream_idx); void play_clicked(); void live_player_clip_done(); + void live_player_clip_progress(double played_this_clip, double total_length); + void playlist_duplicate(); + void playlist_remove(); + void playlist_move(int delta); enum Rounding { FIRST_AT_OR_AFTER, LAST_BEFORE }; void preview_single_frame(int64_t pts, unsigned stream_idx, Rounding rounding); + // Also covers when the playlist itself changes. + void playlist_selection_changed(); + void resizeEvent(QResizeEvent *event) override; bool eventFilter(QObject *watched, QEvent *event) override;