| 229 | |
| 230 | |
| 231 | void UBWidgetUniboardAPI::setBackground(bool pIsDark, bool pIsCrossed) |
| 232 | { |
| 233 | auto scene = mScene.lock(); |
| 234 | |
| 235 | if (scene) { |
| 236 | if (pIsCrossed) |
| 237 | scene->setBackground(pIsDark, UBPageBackground::crossed); |
| 238 | else |
| 239 | scene->setBackground(pIsDark, UBPageBackground::plain); |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | |
| 244 | void UBWidgetUniboardAPI::moveTo(const qreal x, const qreal y) |
no test coverage detected