StuBS
Pointer Struct Reference

Mouse state More...

#include <object/pointer.h>

Public Member Functions

 Pointer ()
 Default constructor.
 
Pointeroperator= (const Pointer &other)
 Assignment operator.
 

Public Attributes

int x
 Current X position of the mouse.
 
int y
 Current Y position of the mouse.
 
bool button [MOUSE_BUTTONS]
 Currently pressed mouse buttons.
 

Detailed Description

Mouse state

Constructor & Destructor Documentation

◆ Pointer()

Pointer::Pointer ( )
inline

Default constructor.

Member Function Documentation

◆ operator=()

Pointer & Pointer::operator= ( const Pointer other)
inline

Assignment operator.

Parameters
otherReference to other pointer
Returns
Reference to this pointer

Member Data Documentation

◆ x

int Pointer::x

Current X position of the mouse.

◆ y

int Pointer::y

Current Y position of the mouse.

◆ button

bool Pointer::button[MOUSE_BUTTONS]

Currently pressed mouse buttons.


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