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

Method GetActiveDialogueLine

src/visual_tool.cpp:125–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125AssDialogue* VisualToolBase::GetActiveDialogueLine() {
126 AssDialogue *diag = c->selectionController->GetActiveLine();
127 if (IsDisplayed(diag))
128 return diag;
129 return nullptr;
130}
131
132void VisualToolBase::SetDisplayArea(int x, int y, int w, int h) {
133 if (x == video_pos.X() && y == video_pos.Y() && w == video_res.X() && h == video_res.Y()) return;

Callers

nothing calls this directly

Calls 1

GetActiveLineMethod · 0.80

Tested by

no test coverage detected