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

Method Width

src/grid_column.cpp:160–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 }
159
160 int Width(const agi::Context *c, WidthHelper &helper) const override {
161 if (!by_frame)
162 return helper(wxS("0:00:00.00"));
163 int frame = c->videoController->FrameAtTime(max_value(&AssDialogue::Start, c->ass->Events), agi::vfr::START);
164 return helper(std::to_wstring(frame));
165 }
166};
167
168struct GridColumnEndTime final : GridColumnTime {

Callers

nothing calls this directly

Calls 2

max_valueFunction · 0.85
FrameAtTimeMethod · 0.45

Tested by

no test coverage detected