diff options
author | David Robillard <d@drobilla.net> | 2020-11-01 11:58:55 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-01 11:58:55 +0100 |
commit | 92edbddd304c5df0b1c89b8248053b0c1bfd9158 (patch) | |
tree | b65fcd1595004a1781f644834cd43c9ffd92cc1b /bindings/cxx/include/pugl/pugl.hpp | |
parent | b62c18747fd26102ab758ceda430995d96697b22 (diff) | |
download | pugl-92edbddd304c5df0b1c89b8248053b0c1bfd9158.tar.gz pugl-92edbddd304c5df0b1c89b8248053b0c1bfd9158.tar.bz2 pugl-92edbddd304c5df0b1c89b8248053b0c1bfd9158.zip |
Reorder methods in C++ bindings to match C header groups
Diffstat (limited to 'bindings/cxx/include/pugl/pugl.hpp')
-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 dde29c8..b7d3d14 100644 --- a/bindings/cxx/include/pugl/pugl.hpp +++ b/bindings/cxx/include/pugl/pugl.hpp @@ -379,6 +379,12 @@ public: const World& world() const noexcept { return _world; } World& world() noexcept { return _world; } + /// @copydoc puglSetBackend + Status setBackend(const PuglBackend* backend) noexcept + { + return static_cast<Status>(puglSetBackend(cobj(), backend)); + } + /// @copydoc puglSetViewHint Status setHint(ViewHint hint, int value) noexcept { @@ -521,12 +527,6 @@ public: /// @copydoc puglHasFocus bool hasFocus() const noexcept { return puglHasFocus(cobj()); } - /// @copydoc puglSetBackend - Status setBackend(const PuglBackend* backend) noexcept - { - return static_cast<Status>(puglSetBackend(cobj(), backend)); - } - /// @copydoc puglSetCursor Status setCursor(const Cursor cursor) noexcept { |