diff --git a/src/Contexts/EglContext.h b/src/Contexts/EglContext.h index 29a961856..02e337129 100644 --- a/src/Contexts/EglContext.h +++ b/src/Contexts/EglContext.h @@ -38,7 +38,7 @@ namespace Magnum { namespace Contexts { /** @brief X/EGL context -Currently only barebone implementation with no event handling. +Supports keyboard and mouse handling. */ class EglContext: public AbstractContext { public: @@ -172,6 +172,7 @@ class EglContext: public AbstractContext { /*@}*/ /** @{ @name Mouse handling */ + public: /** @brief Mouse button */ enum class MouseButton: unsigned int { @@ -199,6 +200,8 @@ class EglContext: public AbstractContext { */ virtual void mouseReleaseEvent(MouseButton button, const Math::Vector2& position); + /*@}*/ + private: Display* xDisplay; Window xWindow;