Browse Source

Doc++

pull/279/head
Vladimír Vondruš 14 years ago
parent
commit
c74551e5c7
  1. 5
      src/Contexts/EglContext.h

5
src/Contexts/EglContext.h

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

Loading…
Cancel
Save