MCPcopy Create free account
hub / github.com/audacity/audacity / SetActive

Method SetActive

libraries/lib-time-frequency-selection/ViewInfo.cpp:146–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void PlayRegion::SetActive( bool active )
147{
148 if (mActive != active) {
149 mActive = active;
150 if (mActive) {
151 // Restore values
152 if (mStart != mLastActiveStart || mEnd != mLastActiveEnd) {
153 mStart = mLastActiveStart;
154 mEnd = mLastActiveEnd;
155 }
156 }
157 Notify();
158 }
159}
160
161void PlayRegion::SetStart( double start )
162{

Callers 9

ActivatePlayRegionFunction · 0.45
InactivatePlayRegionFunction · 0.45
CancelMethod · 0.45
SavePlayRegionMethod · 0.45
HandleQPReleaseMethod · 0.45
CancelMethod · 0.45
CreateMethod · 0.45
EnableEffectsMethod · 0.45
OnEnableMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected