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

#include <surface_manager.hpp>

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

Public Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from neogfx::i_surface_manager
static uuid const & iid ()
 

Detailed Description

Definition at line 30 of file surface_manager.hpp.

Constructor & Destructor Documentation

◆ surface_manager()

neogfx::surface_manager::surface_manager ( i_basic_services aBasicServices,
i_rendering_engine aRenderingEngine 
)

Member Function Documentation

◆ activate_nest()

void neogfx::surface_manager::activate_nest ( i_nest aNest)
overridevirtual

◆ active_nest()

i_nest & neogfx::surface_manager::active_nest ( ) const
overridevirtual

◆ add_surface()

void neogfx::surface_manager::add_surface ( i_surface aSurface)
overridevirtual

◆ any_strong_surfaces()

bool neogfx::surface_manager::any_strong_surfaces ( ) const
overridevirtual

◆ attached_surface()

i_surface & neogfx::surface_manager::attached_surface ( void *  aNativeSurfaceHandle)
overridevirtual

◆ deactivate_nest()

void neogfx::surface_manager::deactivate_nest ( i_nest aNest)
overridevirtual

◆ desktop_rect() [1/2]

rect neogfx::surface_manager::desktop_rect ( const i_surface aSurface) const
overridevirtual

◆ desktop_rect() [2/2]

rect neogfx::surface_manager::desktop_rect ( uint32_t  aDisplayIndex = 0) const
overridevirtual

◆ destroy_nest()

void neogfx::surface_manager::destroy_nest ( i_nest aNest)
overridevirtual

◆ display() [1/2]

i_display & neogfx::surface_manager::display ( const i_surface aSurface) const
overridevirtual

◆ display() [2/2]

i_display & neogfx::surface_manager::display ( uint32_t  aDisplayIndex = 0) const
overridevirtual

◆ display_count()

uint32_t neogfx::surface_manager::display_count ( ) const
overridevirtual

◆ display_error_message() [1/2]

void neogfx::surface_manager::display_error_message ( const i_native_window aParent,
std::string const &  aTitle,
std::string const &  aMessage 
) const
overridevirtual

◆ display_error_message() [2/2]

void neogfx::surface_manager::display_error_message ( std::string const &  aTitle,
std::string const &  aMessage 
) const
overridevirtual

◆ find_nest()

virtual i_nest & neogfx::surface_manager::find_nest ( i_native_window const &  aNestedWindow) const
overridevirtual

◆ initialising_surface()

bool neogfx::surface_manager::initialising_surface ( ) const
overridevirtual

◆ invalidate_surfaces()

void neogfx::surface_manager::invalidate_surfaces ( )
overridevirtual

◆ is_surface_attached()

bool neogfx::surface_manager::is_surface_attached ( void *  aNativeSurfaceHandle) const
overridevirtual

◆ layout_surfaces()

void neogfx::surface_manager::layout_surfaces ( )
overridevirtual

◆ nest_for()

i_nest & neogfx::surface_manager::nest_for ( i_widget aNestWidget,
nest_type  aNestType 
) const
overridevirtual

◆ process_events()

bool neogfx::surface_manager::process_events ( bool &  aLastWindowClosed)
overridevirtual

◆ remove_surface()

void neogfx::surface_manager::remove_surface ( i_surface aSurface)
overridevirtual

◆ render_surfaces()

void neogfx::surface_manager::render_surfaces ( )
overridevirtual

◆ strong_surface_count()

std::size_t neogfx::surface_manager::strong_surface_count ( ) const
overridevirtual

◆ surface()

i_surface & neogfx::surface_manager::surface ( std::size_t  aIndex)
overridevirtual

◆ surface_at_position() [1/2]

const i_surface & neogfx::surface_manager::surface_at_position ( const i_surface aProgenitor,
const point aPosition,
bool  aForMouseEvent = false 
) const
overridevirtual

◆ surface_at_position() [2/2]

i_surface & neogfx::surface_manager::surface_at_position ( const i_surface aProgenitor,
const point aPosition,
bool  aForMouseEvent = false 
)
overridevirtual

◆ surface_count()

std::size_t neogfx::surface_manager::surface_count ( ) const
overridevirtual

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