///////////////////////////////////////////////////////
| 369 | |
| 370 | //////////////////////////////////////////////////////////// |
| 371 | void WindowBase::filterEvent(const Event& event) |
| 372 | { |
| 373 | // Notify resize events to the derived class |
| 374 | if (const auto* resized = event.getIf<Event::Resized>()) |
| 375 | { |
| 376 | // Cache the new size |
| 377 | m_size = resized->size; |
| 378 | |
| 379 | // Notify the derived class |
| 380 | onResize(); |
| 381 | } |
| 382 | } |
| 383 | |
| 384 | |
| 385 | //////////////////////////////////////////////////////////// |
nothing calls this directly
no outgoing calls
no test coverage detected