neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::i_surface_manager Class Referenceabstract

#include <i_surface_manager.hpp>

Inheritance diagram for neogfx::i_surface_manager:
neolib::services::i_service neogfx::surface_manager

Public Member Functions

virtual ~i_surface_manager ()=default
 
virtual bool initialising_surface () const =0
 
virtual void add_surface (i_surface &aSurface)=0
 
virtual void remove_surface (i_surface &aSurface)=0
 
virtual std::size_t surface_count () const =0
 
virtual i_surfacesurface (std::size_t aIndex)=0
 
virtual bool any_strong_surfaces () const =0
 
virtual std::size_t strong_surface_count () const =0
 
virtual bool process_events (bool &aLastWindowClosed)=0
 
virtual void layout_surfaces ()=0
 
virtual void invalidate_surfaces ()=0
 
virtual void render_surfaces ()=0
 
virtual void display_error_message (std::string const &aTitle, std::string const &aMessage) const =0
 
virtual void display_error_message (i_native_window const &aParent, std::string const &aTitle, std::string const &aMessage) const =0
 
virtual uint32_t display_count () const =0
 
virtual i_display & display (uint32_t aDisplayIndex=0) const =0
 
virtual i_display & display (i_surface const &aSurface) const =0
 
virtual rect desktop_rect (uint32_t aDisplayIndex=0) const =0
 
virtual rect desktop_rect (i_surface const &aSurface) const =0
 
virtual const i_surfacesurface_at_position (i_surface const &aProgenitor, point const &aPosition, bool aForMouseEvent=false) const =0
 
virtual i_surfacesurface_at_position (i_surface const &aProgenitor, point const &aPosition, bool aForMouseEvent=false)=0
 
virtual i_nestnest_for (i_widget &aNestWidget, nest_type aNestType) const =0
 
virtual i_nestfind_nest (i_native_window const &aNestedWindow) const =0
 
virtual void destroy_nest (i_nest &aNest)=0
 
virtual i_nestactive_nest () const =0
 
virtual void activate_nest (i_nest &aNest)=0
 
virtual void deactivate_nest (i_nest &aNest)=0
 
virtual bool is_surface_attached (void *aNativeSurfaceHandle) const =0
 
virtual i_surfaceattached_surface (void *aNativeSurfaceHandle)=0
 
- Public Member Functions inherited from neolib::services::i_service
virtual ~i_service ()=default
 

Static Public Member Functions

static uuid const & iid ()
 

Detailed Description

Definition at line 36 of file i_surface_manager.hpp.

Constructor & Destructor Documentation

◆ ~i_surface_manager()

virtual neogfx::i_surface_manager::~i_surface_manager ( )
virtualdefault

Member Function Documentation

◆ activate_nest()

virtual void neogfx::i_surface_manager::activate_nest ( i_nest aNest)
pure virtual

Implemented in neogfx::surface_manager.

◆ active_nest()

virtual i_nest & neogfx::i_surface_manager::active_nest ( ) const
pure virtual

Implemented in neogfx::surface_manager.

◆ add_surface()

virtual void neogfx::i_surface_manager::add_surface ( i_surface aSurface)
pure virtual

Implemented in neogfx::surface_manager.

◆ any_strong_surfaces()

virtual bool neogfx::i_surface_manager::any_strong_surfaces ( ) const
pure virtual

Implemented in neogfx::surface_manager.

◆ attached_surface()

virtual i_surface & neogfx::i_surface_manager::attached_surface ( void *  aNativeSurfaceHandle)
pure virtual

Implemented in neogfx::surface_manager.

◆ deactivate_nest()

virtual void neogfx::i_surface_manager::deactivate_nest ( i_nest aNest)
pure virtual

Implemented in neogfx::surface_manager.

◆ desktop_rect() [1/2]

virtual rect neogfx::i_surface_manager::desktop_rect ( i_surface const &  aSurface) const
pure virtual

Implemented in neogfx::surface_manager.

◆ desktop_rect() [2/2]

virtual rect neogfx::i_surface_manager::desktop_rect ( uint32_t  aDisplayIndex = 0) const
pure virtual

Implemented in neogfx::surface_manager.

◆ destroy_nest()

virtual void neogfx::i_surface_manager::destroy_nest ( i_nest aNest)
pure virtual

Implemented in neogfx::surface_manager.

◆ display() [1/2]

virtual i_display & neogfx::i_surface_manager::display ( i_surface const &  aSurface) const
pure virtual

Implemented in neogfx::surface_manager.

◆ display() [2/2]

virtual i_display & neogfx::i_surface_manager::display ( uint32_t  aDisplayIndex = 0) const
pure virtual

Implemented in neogfx::surface_manager.

◆ display_count()

virtual uint32_t neogfx::i_surface_manager::display_count ( ) const
pure virtual

Implemented in neogfx::surface_manager.

◆ display_error_message() [1/2]

virtual void neogfx::i_surface_manager::display_error_message ( i_native_window const &  aParent,
std::string const &  aTitle,
std::string const &  aMessage 
) const
pure virtual

Implemented in neogfx::surface_manager.

◆ display_error_message() [2/2]

virtual void neogfx::i_surface_manager::display_error_message ( std::string const &  aTitle,
std::string const &  aMessage 
) const
pure virtual

Implemented in neogfx::surface_manager.

◆ find_nest()

virtual i_nest & neogfx::i_surface_manager::find_nest ( i_native_window const &  aNestedWindow) const
pure virtual

Implemented in neogfx::surface_manager.

◆ iid()

static uuid const & neogfx::i_surface_manager::iid ( )
inlinestatic

Definition at line 77 of file i_surface_manager.hpp.

◆ initialising_surface()

virtual bool neogfx::i_surface_manager::initialising_surface ( ) const
pure virtual

Implemented in neogfx::surface_manager.

◆ invalidate_surfaces()

virtual void neogfx::i_surface_manager::invalidate_surfaces ( )
pure virtual

Implemented in neogfx::surface_manager.

◆ is_surface_attached()

virtual bool neogfx::i_surface_manager::is_surface_attached ( void *  aNativeSurfaceHandle) const
pure virtual

Implemented in neogfx::surface_manager.

◆ layout_surfaces()

virtual void neogfx::i_surface_manager::layout_surfaces ( )
pure virtual

Implemented in neogfx::surface_manager.

◆ nest_for()

virtual i_nest & neogfx::i_surface_manager::nest_for ( i_widget aNestWidget,
nest_type  aNestType 
) const
pure virtual

Implemented in neogfx::surface_manager.

◆ process_events()

virtual bool neogfx::i_surface_manager::process_events ( bool &  aLastWindowClosed)
pure virtual

Implemented in neogfx::surface_manager.

◆ remove_surface()

virtual void neogfx::i_surface_manager::remove_surface ( i_surface aSurface)
pure virtual

Implemented in neogfx::surface_manager.

◆ render_surfaces()

virtual void neogfx::i_surface_manager::render_surfaces ( )
pure virtual

Implemented in neogfx::surface_manager.

◆ strong_surface_count()

virtual std::size_t neogfx::i_surface_manager::strong_surface_count ( ) const
pure virtual

Implemented in neogfx::surface_manager.

◆ surface()

virtual i_surface & neogfx::i_surface_manager::surface ( std::size_t  aIndex)
pure virtual

Implemented in neogfx::surface_manager.

◆ surface_at_position() [1/2]

virtual const i_surface & neogfx::i_surface_manager::surface_at_position ( i_surface const &  aProgenitor,
point const &  aPosition,
bool  aForMouseEvent = false 
) const
pure virtual

Implemented in neogfx::surface_manager.

◆ surface_at_position() [2/2]

virtual i_surface & neogfx::i_surface_manager::surface_at_position ( i_surface const &  aProgenitor,
point const &  aPosition,
bool  aForMouseEvent = false 
)
pure virtual

Implemented in neogfx::surface_manager.

◆ surface_count()

virtual std::size_t neogfx::i_surface_manager::surface_count ( ) const
pure virtual

Implemented in neogfx::surface_manager.


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