raylib-cpp
C++ object-oriented wrapper library for raylib.
Static Public Member Functions | List of all members
raylib::Mouse Class Reference

Input-related functions: mouse. More...

Static Public Member Functions

static Vector2 GetPosition ()
 
static Vector2 GetTouchPosition (int index)
 
static int GetTouchX ()
 
static int GetTouchY ()
 
static float GetWheelMove ()
 
static int GetX ()
 
static int GetY ()
 
static bool IsButtonDown (int button)
 Detect if a mouse button is being pressed.
 
static bool IsButtonPressed (int button)
 Detect if a mouse button has been pressed once.
 
static bool IsButtonReleased (int button)
 Detect if a mouse button has been released once.
 
static bool IsButtonUp (int button)
 
static void SetCursor (int cursor)
 
static void SetOffset (int offsetX, int offsetY)
 
static void SetPosition (int x, int y)
 
static void SetScale (float scaleX, float scaleY)
 
static void SetX (int x)
 
static void SetY (int y)
 

Detailed Description

Input-related functions: mouse.

Definition at line 11 of file Mouse.hpp.