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

#include <i_window_manager.hpp>

Inheritance diagram for neogfx::i_window_manager:
neolib::services::i_service neogfx::window_manager

Classes

struct  no_window_active
 
struct  window_not_found
 

Public Member Functions

virtual ~i_window_manager ()=default
 
virtual void add_window (i_window &aWindow)=0
 
virtual void remove_window (i_window &aWindow)=0
 
virtual bool has_window (i_window &aWindow) const =0
 
virtual std::size_t window_count () const =0
 
virtual i_windowwindow (std::size_t aIndex) const =0
 
virtual bool any_strong_windows () const =0
 
virtual i_windowhosting_window (const i_window &aNestedWindow) const =0
 
virtual rect desktop_rect (const i_window &aWindow) const =0
 
virtual rect window_rect (const i_window &aWindow) const =0
 
virtual double z_order (const i_window &aWindow) const =0
 
virtual void move_window (i_window &aWindow, const point &aPosition)=0
 
virtual void resize_window (i_window &aWindow, const size &aExtents)=0
 
virtual bool window_activated () const =0
 
virtual i_windowactive_window () const =0
 
virtual void activate_window (i_window &aWindow)=0
 
virtual void deactivate_window (i_window &aWindow)=0
 
virtual i_windowwindow_from_position (const point &aPosition) const =0
 
virtual i_windowwindow_from_position (const point &aPosition, i_widget const &aIgnore) const =0
 
virtual point mouse_position () const =0
 
virtual point mouse_position (const i_window &aWindow) const =0
 
virtual bool is_mouse_button_pressed (mouse_button aButton) const =0
 
virtual void save_mouse_cursor ()=0
 
virtual void set_mouse_cursor (mouse_system_cursor aSystemCursor)=0
 
virtual void restore_mouse_cursor (const i_window &aWindow)=0
 
virtual void update_mouse_cursor (const i_window &aWindow)=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 31 of file i_window_manager.hpp.

Constructor & Destructor Documentation

◆ ~i_window_manager()

virtual neogfx::i_window_manager::~i_window_manager ( )
virtualdefault

Member Function Documentation

◆ activate_window()

virtual void neogfx::i_window_manager::activate_window ( i_window aWindow)
pure virtual

Implemented in neogfx::window_manager.

◆ active_window()

virtual i_window & neogfx::i_window_manager::active_window ( ) const
pure virtual

Implemented in neogfx::window_manager.

◆ add_window()

virtual void neogfx::i_window_manager::add_window ( i_window aWindow)
pure virtual

Implemented in neogfx::window_manager.

◆ any_strong_windows()

virtual bool neogfx::i_window_manager::any_strong_windows ( ) const
pure virtual

Implemented in neogfx::window_manager.

◆ deactivate_window()

virtual void neogfx::i_window_manager::deactivate_window ( i_window aWindow)
pure virtual

Implemented in neogfx::window_manager.

◆ desktop_rect()

virtual rect neogfx::i_window_manager::desktop_rect ( const i_window aWindow) const
pure virtual

Implemented in neogfx::window_manager.

◆ has_window()

virtual bool neogfx::i_window_manager::has_window ( i_window aWindow) const
pure virtual

Implemented in neogfx::window_manager.

◆ hosting_window()

virtual i_window & neogfx::i_window_manager::hosting_window ( const i_window aNestedWindow) const
pure virtual

Implemented in neogfx::window_manager.

◆ iid()

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

Definition at line 70 of file i_window_manager.hpp.

◆ is_mouse_button_pressed()

virtual bool neogfx::i_window_manager::is_mouse_button_pressed ( mouse_button  aButton) const
pure virtual

Implemented in neogfx::window_manager.

◆ mouse_position() [1/2]

virtual point neogfx::i_window_manager::mouse_position ( ) const
pure virtual

Implemented in neogfx::window_manager.

◆ mouse_position() [2/2]

virtual point neogfx::i_window_manager::mouse_position ( const i_window aWindow) const
pure virtual

Implemented in neogfx::window_manager.

◆ move_window()

virtual void neogfx::i_window_manager::move_window ( i_window aWindow,
const point aPosition 
)
pure virtual

Implemented in neogfx::window_manager.

◆ remove_window()

virtual void neogfx::i_window_manager::remove_window ( i_window aWindow)
pure virtual

Implemented in neogfx::window_manager.

◆ resize_window()

virtual void neogfx::i_window_manager::resize_window ( i_window aWindow,
const size aExtents 
)
pure virtual

Implemented in neogfx::window_manager.

◆ restore_mouse_cursor()

virtual void neogfx::i_window_manager::restore_mouse_cursor ( const i_window aWindow)
pure virtual

◆ save_mouse_cursor()

virtual void neogfx::i_window_manager::save_mouse_cursor ( )
pure virtual

◆ set_mouse_cursor()

virtual void neogfx::i_window_manager::set_mouse_cursor ( mouse_system_cursor  aSystemCursor)
pure virtual

◆ update_mouse_cursor()

virtual void neogfx::i_window_manager::update_mouse_cursor ( const i_window aWindow)
pure virtual

◆ window()

virtual i_window & neogfx::i_window_manager::window ( std::size_t  aIndex) const
pure virtual

Implemented in neogfx::window_manager.

◆ window_activated()

virtual bool neogfx::i_window_manager::window_activated ( ) const
pure virtual

Implemented in neogfx::window_manager.

◆ window_count()

virtual std::size_t neogfx::i_window_manager::window_count ( ) const
pure virtual

Implemented in neogfx::window_manager.

◆ window_from_position() [1/2]

virtual i_window * neogfx::i_window_manager::window_from_position ( const point aPosition) const
pure virtual

◆ window_from_position() [2/2]

virtual i_window * neogfx::i_window_manager::window_from_position ( const point aPosition,
i_widget const &  aIgnore 
) const
pure virtual

◆ window_rect()

virtual rect neogfx::i_window_manager::window_rect ( const i_window aWindow) const
pure virtual

Implemented in neogfx::window_manager.

◆ z_order()

virtual double neogfx::i_window_manager::z_order ( const i_window aWindow) const
pure virtual

Implemented in neogfx::window_manager.


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