From 3cc5539d1c85e5044e6f893b3173cd1392bd8fc8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 6 Jun 2022 22:41:41 -0400 Subject: Use consistent terminology for native views On MacOS in particular, views and windows are entirely different concepts, so confusing them... confuses things. This was the last holdover in the API that used the old "native window". --- bindings/cpp/include/pugl/pugl.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bindings/cpp') diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp index 6dd5042..e80408c 100644 --- a/bindings/cpp/include/pugl/pugl.hpp +++ b/bindings/cpp/include/pugl/pugl.hpp @@ -518,8 +518,8 @@ public: /// @copydoc puglGetVisible bool visible() const noexcept { return puglGetVisible(cobj()); } - /// @copydoc puglGetNativeWindow - NativeView nativeWindow() noexcept { return puglGetNativeWindow(cobj()); } + /// @copydoc puglGetNativeView + NativeView nativeView() noexcept { return puglGetNativeView(cobj()); } /** @} -- cgit v1.2.1