Mir
Public Member Functions | Protected Member Functions | List of all members
mir::examples::XCursorLoader Class Reference

#include <xcursor_loader.h>

Inheritance diagram for mir::examples::XCursorLoader:
[legend]

Public Member Functions

 XCursorLoader ()
 
 XCursorLoader (std::string const &theme)
 
virtual ~XCursorLoader ()=default
 
std::shared_ptr< graphics::CursorImageimage (std::string const &cursor_name, geometry::Size const &size)
 Looks up the image for a named cursor. Cursor names follow the XCursor naming conventions. More...
 
- Public Member Functions inherited from mir::input::CursorImages
virtual ~CursorImages ()=default
 

Protected Member Functions

 XCursorLoader (XCursorLoader const &)=delete
 
XCursorLoaderoperator= (XCursorLoader const &)=delete
 
- Protected Member Functions inherited from mir::input::CursorImages
 CursorImages ()=default
 
 CursorImages (CursorImages const &)=delete
 
CursorImagesoperator= (CursorImages const &)=delete
 

Constructor & Destructor Documentation

◆ XCursorLoader() [1/3]

mir::examples::XCursorLoader::XCursorLoader ( )

◆ XCursorLoader() [2/3]

mir::examples::XCursorLoader::XCursorLoader ( std::string const &  theme)
explicit

◆ ~XCursorLoader()

virtual mir::examples::XCursorLoader::~XCursorLoader ( )
virtualdefault

◆ XCursorLoader() [3/3]

mir::examples::XCursorLoader::XCursorLoader ( XCursorLoader const &  )
protecteddelete

Member Function Documentation

◆ image()

std::shared_ptr< mg::CursorImage > mir::examples::XCursorLoader::image ( std::string const &  cursor_name,
geometry::Size const &  size 
)
virtual

Looks up the image for a named cursor. Cursor names follow the XCursor naming conventions.

Implements mir::input::CursorImages.

◆ operator=()

XCursorLoader& mir::examples::XCursorLoader::operator= ( XCursorLoader const &  )
protecteddelete

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

Copyright © 2012-2016 Canonical Ltd.
Generated on Mon Jun 5 11:07:25 UTC 2017