From adc925180be3a8b4a970c70c58ef6c3de6993458 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 23 Nov 2020 17:14:21 +0100 Subject: Rename puglShowWindow and puglHideWindow to puglShow an puglHide These names were confusing because a view is not necessarily a window. Since there's no room for ambiguity here, simply drop the superfluous word. --- bindings/cxx/include/pugl/pugl.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bindings/cxx') diff --git a/bindings/cxx/include/pugl/pugl.hpp b/bindings/cxx/include/pugl/pugl.hpp index d6ec711..e71f5a6 100644 --- a/bindings/cxx/include/pugl/pugl.hpp +++ b/bindings/cxx/include/pugl/pugl.hpp @@ -507,16 +507,16 @@ public: return static_cast(puglRealize(cobj())); } - /// @copydoc puglShowWindow - Status showWindow() noexcept + /// @copydoc puglShow + Status show() noexcept { - return static_cast(puglShowWindow(cobj())); + return static_cast(puglShow(cobj())); } - /// @copydoc puglHideWindow - Status hideWindow() noexcept + /// @copydoc puglHide + Status hide() noexcept { - return static_cast(puglHideWindow(cobj())); + return static_cast(puglHide(cobj())); } /// @copydoc puglGetVisible -- cgit v1.2.1