| 24 | } |
| 25 | |
| 26 | wxColor GetColorMix(const wxColor& a, const wxColor& b, double aWeight) |
| 27 | { |
| 28 | return wxColor( |
| 29 | a.Red() * aWeight + b.Red() * (1 - aWeight), |
| 30 | a.Green() * aWeight + b.Green() * (1 - aWeight), |
| 31 | a.Blue() * aWeight + b.Blue() * (1 - aWeight), |
| 32 | a.Alpha() * aWeight + b.Alpha() * (1 - aWeight)); |
| 33 | } |
| 34 | |
| 35 | float GetGraphDbRange(int height) |
| 36 | { |
no test coverage detected