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

Method UpdateText

src/timeedit_ctrl.cpp:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void TimeEdit::UpdateText() {
116 if (byFrame)
117 ChangeValue(std::to_wstring(c->project->Timecodes().FrameAtTime(time, isEnd ? agi::vfr::END : agi::vfr::START)));
118 else
119 ChangeValue(to_wx(time.GetAssFormatted()));
120}
121
122void TimeEdit::OnKeyDown(wxKeyEvent &event) {
123 int kc = event.GetKeyCode();

Callers

nothing calls this directly

Calls 3

GetAssFormattedMethod · 0.80
to_wxFunction · 0.70
FrameAtTimeMethod · 0.45

Tested by

no test coverage detected