Struct cognitive_exhibitor::Pointer [] [src]

pub struct Pointer<C> where
    C: ExhibitorCoordinationTrait
{ /* fields omitted */ }

State of the pointer.

Methods

impl<C> Pointer<C> where
    C: ExhibitorCoordinationTrait
[src]

Pointer constructor.

impl<C> Pointer<C> where
    C: ExhibitorCoordinationTrait
[src]

Pointer constructor. Returns pointer position in global coordinates.

Returns ID of the cursor surface.

Return ID of the surface with keyboard focus.

Return ID of the surface with pointer focus.

impl<C> Pointer<C> where
    C: ExhibitorCoordinationTrait
[src]

Input handlers.

Pointer constructor. Move pointer and cast to correct output.

Change position of the pointer and cast to correct output.

Reset position of the pointer.

Checks for change of surface pointer is hovering or relative position to this surface and notify rest of the application about changes.

impl<C> Pointer<C> where
    C: ExhibitorCoordinationTrait
[src]

Other requests.

Handles destruction of cursor surface.

Sets surface ID of currently keyboard focused surface.

Handles cursor surface change request.