Mir
Public Member Functions | Protected Member Functions | List of all members
mir::input::CursorListener Class Referenceabstract

An interface for listening to absolute cursor events (without context): For example to update the position of the visible cursor. More...

#include <cursor_listener.h>

Public Member Functions

virtual ~CursorListener ()=default
 
virtual void cursor_moved_to (float abs_x, float abs_y)=0
 

Protected Member Functions

 CursorListener ()=default
 
 CursorListener (CursorListener const &)=delete
 
CursorListeneroperator= (CursorListener const &)=delete
 

Detailed Description

An interface for listening to absolute cursor events (without context): For example to update the position of the visible cursor.

Constructor & Destructor Documentation

virtual mir::input::CursorListener::~CursorListener ( )
virtualdefault
mir::input::CursorListener::CursorListener ( )
protecteddefault
mir::input::CursorListener::CursorListener ( CursorListener const &  )
protecteddelete

Member Function Documentation

virtual void mir::input::CursorListener::cursor_moved_to ( float  abs_x,
float  abs_y 
)
pure virtual
CursorListener& mir::input::CursorListener::operator= ( CursorListener const &  )
protecteddelete

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

Copyright © 2012-2016 Canonical Ltd.
Generated on Mon Jun 5 13:49:26 UTC 2017