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

Method Draw

src/AdornedRulerPanel.cpp:582–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582void AdornedRulerPanel::ScrubbingRulerOverlay::Draw(
583 OverlayPanel & /*panel*/, wxDC &dc)
584{
585 mOldQPIndicatorPos = mNewQPIndicatorPos;
586 mOldScrub = mNewScrub;
587 mOldSeek = mNewSeek;
588 if (mOldQPIndicatorPos >= 0) {
589 auto ruler = GetRuler();
590 auto width = mOldScrub ? IndicatorBigWidth() : IndicatorSmallWidth;
591 ruler->DoDrawScrubIndicator(
592 &dc, mOldQPIndicatorPos, width, mOldScrub, mOldSeek);
593 }
594}
595
596/**********************************************************************
597

Callers 1

DoDrawMarksMethod · 0.45

Calls 8

GetRulerFunction · 0.85
IndicatorBigWidthFunction · 0.85
GetFunction · 0.85
DoDrawScrubIndicatorMethod · 0.80
TargetMethod · 0.80
VisitCellsMethod · 0.80
getMethod · 0.45
ClickedMethod · 0.45

Tested by

no test coverage detected