| 2427 | } |
| 2428 | |
| 2429 | void AdornedRulerPanel::DoDrawBackground(wxDC * dc) |
| 2430 | { |
| 2431 | // Draw AdornedRulerPanel border |
| 2432 | AColor::UseThemeColour( dc, TimelineBackgroundColor() ); |
| 2433 | dc->DrawRectangle( mOuter ); |
| 2434 | |
| 2435 | if (ShowingScrubRuler()) { |
| 2436 | // Let's distinguish the scrubbing area by using a themable |
| 2437 | // colour and a line to set it off. |
| 2438 | AColor::UseThemeColour(dc, clrScrubRuler, TimelineTextColor() ); |
| 2439 | wxRect ScrubRect = mScrubZone; |
| 2440 | ScrubRect.Inflate( 1,0 ); |
| 2441 | dc->DrawRectangle(ScrubRect); |
| 2442 | } |
| 2443 | } |
| 2444 | |
| 2445 | void AdornedRulerPanel::DoDrawEdge(wxDC *dc) |
| 2446 | { |
nothing calls this directly
no test coverage detected