aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cpp/include/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-01-23 17:00:36 -0500
committerDavid Robillard <d@drobilla.net>2025-01-23 18:02:52 -0500
commitd7a93950b3af397580572adf2e366f3b162104a9 (patch)
treebc555c1c5449680ab9436799e5968d26948675fc /bindings/cpp/include/pugl
parent985dfb99f6a017a2d4629631ee76f74d6ca9eb14 (diff)
downloadpugl-d7a93950b3af397580572adf2e366f3b162104a9.tar.gz
pugl-d7a93950b3af397580572adf2e366f3b162104a9.tar.bz2
pugl-d7a93950b3af397580572adf2e366f3b162104a9.zip
Rename puglPostRedisplay() to puglObscureView()
For consistency with event types (since "obscure" is opposite "expose") and the upcoming puglObscureRegion().
Diffstat (limited to 'bindings/cpp/include/pugl')
-rw-r--r--bindings/cpp/include/pugl/pugl.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp
index a4ee273..c74962b 100644
--- a/bindings/cpp/include/pugl/pugl.hpp
+++ b/bindings/cpp/include/pugl/pugl.hpp
@@ -609,10 +609,10 @@ public:
/// @copydoc puglGetContext
void* context() noexcept { return puglGetContext(cobj()); }
- /// @copydoc puglPostRedisplay
- Status postRedisplay() noexcept
+ /// @copydoc puglObscure
+ Status obscure() noexcept
{
- return static_cast<Status>(puglPostRedisplay(cobj()));
+ return static_cast<Status>(puglObscureView(cobj()));
}
/// @copydoc puglPostRedisplayRect