| 402 | |
| 403 | |
| 404 | void 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 | |
| 415 | void AColor::Medium(wxDC * dc, bool selected) |
| 416 | { |