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

Method SetSelection

src/audio_display.cpp:202–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200 }
201
202 void SetSelection(int new_start, int new_length)
203 {
204 sel_start = (int64_t)new_start * bounds.width / data_length;
205 sel_length = (int64_t)new_length * bounds.width / data_length;
206 }
207
208 void ChangeLengths(int new_data_length, int new_page_length)
209 {

Callers 2

OnSizeMethod · 0.45
OnSelectionChangedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected