GameKit  0.0.1a
C++ gamedev tools
Static Public Member Functions | Static Private Attributes | List of all members
gk::Mouse Class Reference

#include <Mouse.hpp>

Static Public Member Functions

static void resetToWindowCenter ()
 
static void setWindow (Window *window)
 
static void setCursorVisible (bool isVisible)
 
static void setCursorGrabbed (bool isGrabbed)
 
static Vector2i getPosition ()
 
static bool isInRect (const IntRect &rect)
 

Static Private Attributes

static Windows_window = nullptr
 

Detailed Description

Definition at line 22 of file Mouse.hpp.

Member Function Documentation

§ getPosition()

Vector2i gk::Mouse::getPosition ( )
static

Definition at line 33 of file Mouse.cpp.

§ isInRect()

bool gk::Mouse::isInRect ( const IntRect rect)
static

Definition at line 39 of file Mouse.cpp.

§ resetToWindowCenter()

void gk::Mouse::resetToWindowCenter ( )
static

Definition at line 21 of file Mouse.cpp.

§ setCursorGrabbed()

void gk::Mouse::setCursorGrabbed ( bool  isGrabbed)
static

Definition at line 25 of file Mouse.cpp.

§ setCursorVisible()

void gk::Mouse::setCursorVisible ( bool  isVisible)
static

Definition at line 29 of file Mouse.cpp.

§ setWindow()

static void gk::Mouse::setWindow ( Window window)
inlinestatic

Definition at line 26 of file Mouse.hpp.

Member Data Documentation

§ s_window

Window * gk::Mouse::s_window = nullptr
staticprivate

Definition at line 36 of file Mouse.hpp.


The documentation for this class was generated from the following files: