Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
SDL_MouseButtonEvent Struct Reference

Mouse button event structure (event.button. More...

#include <SdlEmulationLayer.h>

Public Attributes

Ogre::uint32 type
 ::SDL_MOUSEBUTTONDOWN or ::SDL_MOUSEBUTTONUP More...
 
Ogre::uint32 timestamp
 
Ogre::uint32 windowID
 The window with mouse focus, if any. More...
 
Ogre::uint32 which
 The mouse instance id, or SDL_TOUCH_MOUSEID. More...
 
Ogre::uint8 button
 The mouse button index. More...
 
Ogre::uint8 state
 ::SDL_PRESSED or ::SDL_RELEASED More...
 
Ogre::uint8 clicks
 1 for single-click, 2 for double-click, etc. More...
 
Ogre::uint8 padding1
 
Ogre::int32 x
 X coordinate, relative to window. More...
 
Ogre::int32 y
 Y coordinate, relative to window. More...
 

Detailed Description

Mouse button event structure (event.button.

*)

Member Data Documentation

◆ button

Ogre::uint8 SDL_MouseButtonEvent::button

The mouse button index.

◆ clicks

Ogre::uint8 SDL_MouseButtonEvent::clicks

1 for single-click, 2 for double-click, etc.

◆ padding1

Ogre::uint8 SDL_MouseButtonEvent::padding1

◆ state

Ogre::uint8 SDL_MouseButtonEvent::state

::SDL_PRESSED or ::SDL_RELEASED

◆ timestamp

Ogre::uint32 SDL_MouseButtonEvent::timestamp

◆ type

Ogre::uint32 SDL_MouseButtonEvent::type

::SDL_MOUSEBUTTONDOWN or ::SDL_MOUSEBUTTONUP

◆ which

Ogre::uint32 SDL_MouseButtonEvent::which

The mouse instance id, or SDL_TOUCH_MOUSEID.

◆ windowID

Ogre::uint32 SDL_MouseButtonEvent::windowID

The window with mouse focus, if any.

◆ x

Ogre::int32 SDL_MouseButtonEvent::x

X coordinate, relative to window.

◆ y

Ogre::int32 SDL_MouseButtonEvent::y

Y coordinate, relative to window.


The documentation for this struct was generated from the following file: