Back to index

libsfml  1.6+dfsg2
Enumerations
sf::Mouse Namespace Reference

Definition of button codes for mouse events /////////////////////////////////////////////////////////. More...

Enumerations

enum  Button {
  Left, Right, Middle, XButton1,
  XButton2, ButtonCount
}

Detailed Description

Definition of button codes for mouse events /////////////////////////////////////////////////////////.


Enumeration Type Documentation

Enumerator:
Left 
Right 
Middle 
XButton1 
XButton2 
ButtonCount 

Definition at line 155 of file Event.hpp.

    {
        Left,
        Right,
        Middle,
        XButton1,
        XButton2,

        ButtonCount // Keep last -- total number of mouse buttons
    };