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

Method Value

src/grid_column.cpp:154–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 COLUMN_DESCRIPTION(_("Start Time"))
153
154 wxString Value(const AssDialogue *d, const agi::Context *c) const override {
155 if (by_frame)
156 return std::to_wstring(c->videoController->FrameAtTime(d->Start, agi::vfr::START));
157 return to_wx(d->Start.GetAssFormatted());
158 }
159
160 int Width(const agi::Context *c, WidthHelper &helper) const override {
161 if (!by_frame)

Callers

nothing calls this directly

Calls 3

GetAssFormattedMethod · 0.80
to_wxFunction · 0.70
FrameAtTimeMethod · 0.45

Tested by

no test coverage detected