From 92edbddd304c5df0b1c89b8248053b0c1bfd9158 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 1 Nov 2020 11:58:55 +0100 Subject: Reorder methods in C++ bindings to match C header groups --- bindings/cxx/include/pugl/pugl.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bindings/cxx/include') 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(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(puglSetBackend(cobj(), backend)); - } - /// @copydoc puglSetCursor Status setCursor(const Cursor cursor) noexcept { -- cgit v1.2.1