]> git.mxchange.org Git - simgear.git/blobdiff - simgear/canvas/events/MouseEvent.hxx
Add simple keyboard event demo application.
[simgear.git] / simgear / canvas / events / MouseEvent.hxx
index d3223f59dc9e99a3b1db2146c4319ba61e33bf53..f0a0b4a642f07456aad89e29fbe283c7433c165b 100644 (file)
@@ -1,4 +1,5 @@
-///@file Mouse event
+///@file
+/// Mouse event
 //
 // Copyright (C) 2012  Thomas Geymayer <tomgey@gmail.com>
 //
@@ -26,6 +27,9 @@ namespace simgear
 namespace canvas
 {
 
+  /**
+   * Mouse (button/move/wheel) event
+   */
   class MouseEvent:
     public DeviceEvent
   {
@@ -57,13 +61,13 @@ namespace canvas
 
       int getCurrentClickCount() const { return click_count; }
 
-      osg::Vec2f  screen_pos,   //<! Position in screen coordinates
-                  client_pos,   //<! Position in window/canvas coordinates
-                  local_pos,    //<! Position in local/element coordinates
+      osg::Vec2f  screen_pos,   //!< Position in screen coordinates
+                  client_pos,   //!< Position in window/canvas coordinates
+                  local_pos,    //!< Position in local/element coordinates
                   delta;
-      int         button,       //<! Button for this event
-                  buttons,      //<! Current button state
-                  click_count;  //<! Current click count
+      int         button,       //!< Button for this event
+                  buttons,      //!< Current button state
+                  click_count;  //!< Current click count
   };
 
 } // namespace canvas