Gamedev Framework (gf)  0.3.0
A C++11 framework for 2D games
Public Attributes | List of all members
gf::Event::MouseButtonEvent Struct Reference

Mouse button event parameters (EventType::MouseButtonPressed, EventType::MouseButtonReleased) More...

#include <gf/Event.h>

Public Attributes

MouseButton button
 Code of the button that has been pressed. More...
 
Vector2i coords
 Position of the mouse cursor. More...
 

Detailed Description

Mouse button event parameters (EventType::MouseButtonPressed, EventType::MouseButtonReleased)

Member Data Documentation

MouseButton gf::Event::MouseButtonEvent::button

Code of the button that has been pressed.

Vector2i gf::Event::MouseButtonEvent::coords

Position of the mouse cursor.