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

#include <window_manager.hpp>

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

Public Member Functions

 window_manager ()
 
 ~window_manager ()
 
void add_window (i_window &aWindow) final
 
void remove_window (i_window &aWindow) final
 
bool has_window (i_window &aWindow) const final
 
std::size_t window_count () const final
 
i_windowwindow (std::size_t aIndex) const final
 
bool any_strong_windows () const final
 
i_windowhosting_window (const i_window &aNestedWindow) const final
 
rect desktop_rect (const i_window &aWindow) const final
 
rect window_rect (const i_window &aWindow) const final
 
double z_order (const i_window &aWindow) const final
 
void move_window (i_window &aWindow, const point &aPosition) final
 
void resize_window (i_window &aWindow, const size &aExtents) final
 
bool window_activated () const final
 
i_windowactive_window () const final
 
void activate_window (i_window &aWindow) final
 
void deactivate_window (i_window &aWindow) final
 
point mouse_position () const final
 
point mouse_position (const i_window &aWindow) const final
 
bool is_mouse_button_pressed (mouse_button aButton) const final
 
- Public Member Functions inherited from neogfx::i_window_manager
virtual ~i_window_manager ()=default
 
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 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
 

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file window_manager.hpp.

Constructor & Destructor Documentation

◆ window_manager()

neogfx::window_manager::window_manager ( )

◆ ~window_manager()

neogfx::window_manager::~window_manager ( )

Member Function Documentation

◆ activate_window()

void neogfx::window_manager::activate_window ( i_window aWindow)
finalvirtual

◆ active_window()

i_window & neogfx::window_manager::active_window ( ) const
finalvirtual

◆ add_window()

void neogfx::window_manager::add_window ( i_window aWindow)
finalvirtual

◆ any_strong_windows()

bool neogfx::window_manager::any_strong_windows ( ) const
finalvirtual

◆ deactivate_window()

void neogfx::window_manager::deactivate_window ( i_window aWindow)
finalvirtual

◆ desktop_rect()

rect neogfx::window_manager::desktop_rect ( const i_window aWindow) const
finalvirtual

◆ has_window()

bool neogfx::window_manager::has_window ( i_window aWindow) const
finalvirtual

◆ hosting_window()

i_window & neogfx::window_manager::hosting_window ( const i_window aNestedWindow) const
finalvirtual

◆ is_mouse_button_pressed()

bool neogfx::window_manager::is_mouse_button_pressed ( mouse_button  aButton) const
finalvirtual

◆ mouse_position() [1/2]

point neogfx::window_manager::mouse_position ( ) const
finalvirtual

◆ mouse_position() [2/2]

point neogfx::window_manager::mouse_position ( const i_window aWindow) const
finalvirtual

◆ move_window()

void neogfx::window_manager::move_window ( i_window aWindow,
const point aPosition 
)
finalvirtual

◆ remove_window()

void neogfx::window_manager::remove_window ( i_window aWindow)
finalvirtual

◆ resize_window()

void neogfx::window_manager::resize_window ( i_window aWindow,
const size aExtents 
)
finalvirtual

◆ window()

i_window & neogfx::window_manager::window ( std::size_t  aIndex) const
finalvirtual

◆ window_activated()

bool neogfx::window_manager::window_activated ( ) const
finalvirtual

◆ window_count()

std::size_t neogfx::window_manager::window_count ( ) const
finalvirtual

◆ window_rect()

rect neogfx::window_manager::window_rect ( const i_window aWindow) const
finalvirtual

◆ z_order()

double neogfx::window_manager::z_order ( const i_window aWindow) const
finalvirtual

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