X-Git-Url: https://git.sesse.net/?p=nageru;a=blobdiff_plain;f=futatabi%2Fmainwindow.h;h=afc16ff4c68c41f8cca8ff9a04ba38256f0fe369;hp=669fc0e9e29e810c2ef27f91d9a9bfa8ccf3050d;hb=4a9e97065dade428e373a83618bc973cd93cbe52;hpb=5150998b6b97fb01eb393f1c76db073cc4fe8505 diff --git a/futatabi/mainwindow.h b/futatabi/mainwindow.h index 669fc0e..afc16ff 100644 --- a/futatabi/mainwindow.h +++ b/futatabi/mainwindow.h @@ -5,15 +5,15 @@ #include "db.h" #include "state.pb.h" -#include -#include -#include #include #include #include +#include +#include +#include #include -#include #include +#include #include namespace Ui { @@ -53,7 +53,8 @@ private: int64_t scrub_pts_origin; // Which element (e.g. pts_in on clip 4) we are scrubbing. - enum ScrubType { SCRUBBING_CLIP_LIST, SCRUBBING_PLAYLIST } scrub_type; + enum ScrubType { SCRUBBING_CLIP_LIST, + SCRUBBING_PLAYLIST } scrub_type; int scrub_row; int scrub_column; @@ -115,7 +116,8 @@ private: void state_changed(const StateProto &state); // Called post-filtering. void save_settings(); - enum Rounding { FIRST_AT_OR_AFTER, LAST_BEFORE }; + 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. @@ -139,7 +141,7 @@ private: void highlight_camera_input(int stream_idx); - template + template void replace_model(QTableView *view, Model **model, Model *new_model); void start_tally();