| 238 | } |
| 239 | |
| 240 | uint Window::getHeight() const noexcept |
| 241 | { |
| 242 | DISTRHO_SAFE_ASSERT_RETURN(pData->view != nullptr, 0); |
| 243 | |
| 244 | const PuglSpan height = puglGetSizeHint(pData->view, PUGL_CURRENT_SIZE).height; |
| 245 | DISTRHO_SAFE_ASSERT(height > 0); |
| 246 | return height; |
| 247 | } |
| 248 | |
| 249 | Size<uint> Window::getSize() const noexcept |
| 250 | { |
no outgoing calls
no test coverage detected