aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cxx/include
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-26 16:07:37 +0100
committerDavid Robillard <d@drobilla.net>2020-11-26 16:31:38 +0100
commit5c651ee28d28ddcfb62f105b3621400952a761d5 (patch)
treeef87484cc227b8b3906ba159af3375bb15b6c3bf /bindings/cxx/include
parentceafc91561e969ead43a384648d54a6aa01c3912 (diff)
downloadpugl-5c651ee28d28ddcfb62f105b3621400952a761d5.tar.gz
pugl-5c651ee28d28ddcfb62f105b3621400952a761d5.tar.bz2
pugl-5c651ee28d28ddcfb62f105b3621400952a761d5.zip
Add missing documentation for pugl::Event fields
Diffstat (limited to 'bindings/cxx/include')
-rw-r--r--bindings/cxx/include/pugl/pugl.hpp2
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;
};