aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cpp/include
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-06-06 22:41:41 -0400
committerDavid Robillard <d@drobilla.net>2022-06-08 22:04:49 -0400
commit3cc5539d1c85e5044e6f893b3173cd1392bd8fc8 (patch)
treec0706a7c80a391e86b913ce165ef0f70f3de17f8 /bindings/cpp/include
parent96ca7a5a2ae976c587c676baf87446a55961e507 (diff)
downloadpugl-3cc5539d1c85e5044e6f893b3173cd1392bd8fc8.tar.gz
pugl-3cc5539d1c85e5044e6f893b3173cd1392bd8fc8.tar.bz2
pugl-3cc5539d1c85e5044e6f893b3173cd1392bd8fc8.zip
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".
Diffstat (limited to 'bindings/cpp/include')
-rw-r--r--bindings/cpp/include/pugl/pugl.hpp4
1 files changed, 2 insertions, 2 deletions
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()); }
/**
@}