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

Method Light

libraries/lib-theme/AColor.cpp:404–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402
403
404void AColor::Light(wxDC * dc, bool selected, bool highlight)
405{
406 if (!inited)
407 Init();
408 int index = (int) selected;
409 auto &brush = highlight ? AColor::uglyBrush : lightBrush[index];
410 dc->SetBrush( brush );
411 auto &pen = highlight ? AColor::uglyPen : lightPen[index];
412 dc->SetPen( pen );
413}
414
415void AColor::Medium(wxDC * dc, bool selected)
416{

Callers

nothing calls this directly

Calls 1

InitClass · 0.85

Tested by

no test coverage detected