diff options
author | David Robillard <d@drobilla.net> | 2020-11-23 17:14:21 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-25 14:18:04 +0100 |
commit | adc925180be3a8b4a970c70c58ef6c3de6993458 (patch) | |
tree | 899a7fc130f3ac8c0630e45099df77ac7042e200 /bindings | |
parent | 7ce9b578a4433f9606b14291fb3b816aa67999d9 (diff) | |
download | pugl-adc925180be3a8b4a970c70c58ef6c3de6993458.tar.gz pugl-adc925180be3a8b4a970c70c58ef6c3de6993458.tar.bz2 pugl-adc925180be3a8b4a970c70c58ef6c3de6993458.zip |
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.
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/cxx/include/pugl/pugl.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
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<Status>(puglRealize(cobj())); } - /// @copydoc puglShowWindow - Status showWindow() noexcept + /// @copydoc puglShow + Status show() noexcept { - return static_cast<Status>(puglShowWindow(cobj())); + return static_cast<Status>(puglShow(cobj())); } - /// @copydoc puglHideWindow - Status hideWindow() noexcept + /// @copydoc puglHide + Status hide() noexcept { - return static_cast<Status>(puglHideWindow(cobj())); + return static_cast<Status>(puglHide(cobj())); } /// @copydoc puglGetVisible |