| 328 | } // namespace |
| 329 | |
| 330 | int panXpixelsFor(const SpectrumWidget* spectrum) |
| 331 | { |
| 332 | if (!spectrum || spectrum->width() < kMinPanXpixels) { |
| 333 | return kDefaultPanXpixels; |
| 334 | } |
| 335 | return radioPixelsFor(spectrum, spectrum->width()); |
| 336 | } |
| 337 | |
| 338 | int panYpixelsFor(const SpectrumWidget* spectrum) |
| 339 | { |
no test coverage detected