From 5c651ee28d28ddcfb62f105b3621400952a761d5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 Nov 2020 16:07:37 +0100 Subject: Add missing documentation for pugl::Event fields --- bindings/cxx/include/pugl/pugl.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bindings/cxx/include/pugl/pugl.hpp') diff --git a/bindings/cxx/include/pugl/pugl.hpp b/bindings/cxx/include/pugl/pugl.hpp index a16b67f..8cd5e34 100644 --- a/bindings/cxx/include/pugl/pugl.hpp +++ b/bindings/cxx/include/pugl/pugl.hpp @@ -99,8 +99,10 @@ using Rect = PuglRect; ///< @copydoc PuglRect */ template struct Event final : Base { + /// The type of the corresponding C event structure using BaseEvent = Base; + /// The `type` field of the corresponding C event structure static constexpr const PuglEventType type = t; }; -- cgit v1.2.1