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

§ ~CursorListener()

virtual mir::input::CursorListener::~CursorListener ( )
virtualdefault

§ CursorListener() [1/2]

mir::input::CursorListener::CursorListener ( )
protecteddefault

§ CursorListener() [2/2]

mir::input::CursorListener::CursorListener ( CursorListener const &  )
protecteddelete

Member Function Documentation

§ cursor_moved_to()

virtual void mir::input::CursorListener::cursor_moved_to ( float  abs_x,
float  abs_y 
)
pure virtual

§ operator=()

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 Sat Dec 3 12:48:59 UTC 2016