Mir
Public Member Functions | Protected Member Functions | List of all members
mir::frontend::Surface Class Referenceabstract

#include <surface.h>

Inheritance diagram for mir::frontend::Surface:
[legend]

Public Member Functions

virtual ~Surface ()=default
 
virtual geometry::Size client_size () const =0
 Size of the client area of the surface (excluding any decorations) More...
 
virtual std::shared_ptr< frontend::BufferStreamprimary_buffer_stream () const =0
 
virtual bool supports_input () const =0
 
virtual int client_input_fd () const =0
 
virtual void set_cursor_image (std::shared_ptr< graphics::CursorImage > const &image)=0
 
virtual void set_cursor_stream (std::shared_ptr< frontend::BufferStream > const &image, geometry::Displacement const &hotspot)=0
 

Protected Member Functions

 Surface ()=default
 
 Surface (Surface const &)=delete
 
Surfaceoperator= (Surface const &)=delete
 

Constructor & Destructor Documentation

virtual mir::frontend::Surface::~Surface ( )
virtualdefault
mir::frontend::Surface::Surface ( )
protecteddefault
mir::frontend::Surface::Surface ( Surface const &  )
protecteddelete

Member Function Documentation

virtual int mir::frontend::Surface::client_input_fd ( ) const
pure virtual
virtual geometry::Size mir::frontend::Surface::client_size ( ) const
pure virtual

Size of the client area of the surface (excluding any decorations)

Implemented in mir::scene::Surface.

Surface& mir::frontend::Surface::operator= ( Surface const &  )
protecteddelete
virtual std::shared_ptr<frontend::BufferStream> mir::frontend::Surface::primary_buffer_stream ( ) const
pure virtual
virtual void mir::frontend::Surface::set_cursor_image ( std::shared_ptr< graphics::CursorImage > const &  image)
pure virtual

Implemented in mir::scene::Surface.

virtual void mir::frontend::Surface::set_cursor_stream ( std::shared_ptr< frontend::BufferStream > const &  image,
geometry::Displacement const &  hotspot 
)
pure virtual
virtual bool mir::frontend::Surface::supports_input ( ) const
pure virtual

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

Copyright © 2012-2016 Canonical Ltd.
Generated on Wed Oct 11 22:26:23 UTC 2017