X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=futatabi%2Fmainwindow.h;fp=futatabi%2Fmainwindow.h;h=d88babaa689bd9ec73dfc62f3d570185950ead4a;hb=b7a32af3a037f9fa70cf54f992314f68279c1204;hp=469cb0ee7181af7761509ea7a602c07296c6e6a7;hpb=873c8b204ab70622f6e231556cc94d3aab1889ce;p=nageru diff --git a/futatabi/mainwindow.h b/futatabi/mainwindow.h index 469cb0e..d88baba 100644 --- a/futatabi/mainwindow.h +++ b/futatabi/mainwindow.h @@ -100,6 +100,10 @@ private: // NOTE: The undo stack always has the current state on top. std::deque undo_stack, redo_stack; + // If we need to blink the lock light, we do so for only a second. + // This timer signals that we should end it. + QTimer *lock_blink_timeout; + // Before a change that should be deferred (see above), currently_deferring_model_changes // must be set to true, and current_change_id must be given contents describing what's // changed to avoid accidental grouping. @@ -147,6 +151,8 @@ private: void state_changed(const StateProto &state); // Called post-filtering. void save_settings(); + void lock_blink_timer_expired(); + enum Rounding { FIRST_AT_OR_AFTER, LAST_BEFORE }; void preview_single_frame(int64_t pts, unsigned stream_idx, Rounding rounding);