| 43 | {} |
| 44 | |
| 45 | static View3DInventorViewer::Background backgroundType(const ParameterGrp& rGrp) |
| 46 | { |
| 47 | if (rGrp.GetBool("Gradient", true)) { |
| 48 | return View3DInventorViewer::Background::LinearGradient; |
| 49 | } |
| 50 | else if (rGrp.GetBool("RadialGradient", false)) { |
| 51 | return View3DInventorViewer::Background::RadialGradient; |
| 52 | } |
| 53 | else { |
| 54 | return View3DInventorViewer::Background::NoGradient; |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | static QColor backgroundColor(const ParameterGrp& rGrp) |
| 59 | { |
no test coverage detected