diff options
author | David Robillard <d@drobilla.net> | 2020-11-26 16:07:37 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-26 16:31:38 +0100 |
commit | 5c651ee28d28ddcfb62f105b3621400952a761d5 (patch) | |
tree | ef87484cc227b8b3906ba159af3375bb15b6c3bf | |
parent | ceafc91561e969ead43a384648d54a6aa01c3912 (diff) | |
download | pugl-5c651ee28d28ddcfb62f105b3621400952a761d5.tar.gz pugl-5c651ee28d28ddcfb62f105b3621400952a761d5.tar.bz2 pugl-5c651ee28d28ddcfb62f105b3621400952a761d5.zip |
Add missing documentation for pugl::Event fields
-rw-r--r-- | bindings/cxx/include/pugl/pugl.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<PuglEventType t, class Base> 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; }; |