| 229 | } |
| 230 | |
| 231 | uint Window::getWidth() const noexcept |
| 232 | { |
| 233 | DISTRHO_SAFE_ASSERT_RETURN(pData->view != nullptr, 0); |
| 234 | |
| 235 | const PuglSpan width = puglGetSizeHint(pData->view, PUGL_CURRENT_SIZE).width; |
| 236 | DISTRHO_SAFE_ASSERT(width > 0); |
| 237 | return width; |
| 238 | } |
| 239 | |
| 240 | uint Window::getHeight() const noexcept |
| 241 | { |
no outgoing calls
no test coverage detected