------------------------------------------------------------------------------
| 310 | |
| 311 | //------------------------------------------------------------------------------ |
| 312 | vtkTypeBool vtkBorderWidget::GetProcessEvents() |
| 313 | { |
| 314 | auto representation = this->GetRepresentation(); |
| 315 | if (representation) |
| 316 | { |
| 317 | auto borderRepresentation = vtkBorderRepresentation::SafeDownCast(representation); |
| 318 | if (borderRepresentation) |
| 319 | { |
| 320 | bool isRelativeLocation = |
| 321 | borderRepresentation->GetWindowLocation() != vtkBorderRepresentation::AnyLocation; |
| 322 | |
| 323 | if (isRelativeLocation) |
| 324 | { |
| 325 | return false; |
| 326 | } |
| 327 | } |
| 328 | } |
| 329 | return this->Superclass::GetProcessEvents(); |
| 330 | } |
| 331 | |
| 332 | //------------------------------------------------------------------------------ |
| 333 | void vtkBorderWidget::PrintSelf(ostream& os, vtkIndent indent) |
no test coverage detected