MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / IsDisplayed

Method IsDisplayed

src/visual_tool.cpp:108–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108bool 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
116void VisualToolBase::Commit(wxString message) {
117 file_changed_connection.Block();

Callers

nothing calls this directly

Calls 2

GetFrameNMethod · 0.80
FrameAtTimeMethod · 0.45

Tested by

no test coverage detected