Definition at line 422 of file AdornedRulerPanel.cpp.
◆ ScrubbingRulerOverlay()
◆ DoGetRectangle()
std::pair< wxRect, bool > AdornedRulerPanel::ScrubbingRulerOverlay::DoGetRectangle |
( |
wxSize |
size | ) |
|
|
overrideprivatevirtual |
Implements Overlay.
Definition at line 554 of file AdornedRulerPanel.cpp.
555{
557
559 if (x >= 0) {
560
561
563
564
565 const int indsize = width / 2;
566
567 auto xx = x - indsize;
568 auto yy = 0;
569 return {
570 { xx, yy,
571 indsize * 2 + 1,
572 GetRuler()->GetSize().GetHeight() },
576 };
577 }
578 else
580}
AdornedRulerPanel * GetRuler() const
References IndicatorBigWidth().
◆ Draw()
void AdornedRulerPanel::ScrubbingRulerOverlay::Draw |
( |
OverlayPanel & |
panel, |
|
|
wxDC & |
dc |
|
) |
| |
|
overrideprivatevirtual |
◆ GetRuler()
◆ SequenceNumber()
unsigned AdornedRulerPanel::ScrubbingRulerOverlay::SequenceNumber |
( |
| ) |
const |
|
overrideprivatevirtual |
This number determines an ordering of overlays, so that those with higher numbers overpaint those with lower numbers that intersect.
Implements Overlay.
Definition at line 548 of file AdornedRulerPanel.cpp.
◆ Update()
void AdornedRulerPanel::ScrubbingRulerOverlay::Update |
( |
| ) |
|
◆ mNewIndicatorSnapped
int AdornedRulerPanel::ScrubbingRulerOverlay::mNewIndicatorSnapped { -1 } |
◆ mNewQPIndicatorPos
int AdornedRulerPanel::ScrubbingRulerOverlay::mNewQPIndicatorPos { -1 } |
◆ mNewScrub
bool AdornedRulerPanel::ScrubbingRulerOverlay::mNewScrub {} |
◆ mNewSeek
bool AdornedRulerPanel::ScrubbingRulerOverlay::mNewSeek {} |
◆ mOldQPIndicatorPos
int AdornedRulerPanel::ScrubbingRulerOverlay::mOldQPIndicatorPos { -1 } |
|
private |
◆ mOldScrub
bool AdornedRulerPanel::ScrubbingRulerOverlay::mOldScrub {} |
|
private |
◆ mOldSeek
bool AdornedRulerPanel::ScrubbingRulerOverlay::mOldSeek {} |
|
private |
◆ mPartner
The documentation for this class was generated from the following file: