| 106 | } |
| 107 | |
| 108 | bool VisualToolBase::IsDisplayed(AssDialogue *line) const { |
| 109 | int frame = c->videoController->GetFrameN(); |
| 110 | return line |
| 111 | && !line->Comment |
| 112 | && c->videoController->FrameAtTime(line->Start, agi::vfr::START) <= frame |
| 113 | && c->videoController->FrameAtTime(line->End, agi::vfr::END) >= frame; |
| 114 | } |
| 115 | |
| 116 | void VisualToolBase::Commit(wxString message) { |
| 117 | file_changed_connection.Block(); |
nothing calls this directly
no test coverage detected