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

#include <i_native_window.hpp>

Inheritance diagram for neogfx::i_native_window:
neogfx::i_property_owner neolib::i_reference_counted neogfx::i_object neolib::i_object neolib::i_lifetime

Classes

struct  no_current_event
 
struct  no_parent
 

Public Types

typedef neolib::variant< window_event, mouse_event, non_client_mouse_event, keyboard_eventnative_event
 
typedef i_native_window abstract_type
 

Public Member Functions

virtual ~i_native_window ()=default
 
virtual bool has_parent () const =0
 
virtual const i_native_windowparent () const =0
 
virtual i_native_windowparent ()=0
 
virtual bool is_nested () const =0
 
virtual i_surface_windowsurface_window () const =0
 
virtual void * target_handle () const =0
 
virtual void * target_device_handle () const =0
 
virtual bool attached () const =0
 
virtual i_native_surfaceattachment () const =0
 
virtual void attach (i_native_surface &aSurface)=0
 
virtual void detach ()=0
 
virtual sizepixel_density () const =0
 
virtual void handle_dpi_changed ()=0
 
virtual bool initialising () const =0
 
virtual void initialisation_complete ()=0
 
virtual void * handle () const =0
 
virtual void * native_handle () const =0
 
virtual point surface_position () const =0
 
virtual void move_surface (const point &aPosition)=0
 
virtual size surface_extents () const =0
 
virtual void resize_surface (const size &aExtents)=0
 
virtual void display_error_message (std::string const &aTitle, std::string const &aMessage) const =0
 
virtual bool events_queued () const =0
 
virtual void push_event (const native_event &aEvent)=0
 
virtual bool pump_event ()=0
 
virtual void handle_event (const native_event &aNativeEvent)=0
 
virtual bool has_current_event () const =0
 
virtual const native_eventcurrent_event () const =0
 
virtual native_eventcurrent_event ()=0
 
virtual void handle_event ()=0
 
virtual bool processing_event () const =0
 
virtual void close (bool aForce=false)=0
 
virtual bool placement_changed_explicitly () const =0
 
virtual void set_placement_changed_explicitly ()=0
 
virtual bool visible () const =0
 
virtual void show (bool aActivate=false)=0
 
virtual void hide ()=0
 
virtual double opacity () const =0
 
virtual void set_opacity (double aOpacity)=0
 
virtual double transparency () const =0
 
virtual void set_transparency (double aTransparency)=0
 
virtual bool is_effectively_active () const =0
 
virtual bool is_active () const =0
 
virtual void activate ()=0
 
virtual void deactivate ()=0
 
virtual bool is_iconic () const =0
 
virtual void iconize ()=0
 
virtual bool is_maximized () const =0
 
virtual void maximize ()=0
 
virtual bool is_restored () const =0
 
virtual void restore ()=0
 
virtual bool is_fullscreen () const =0
 
virtual void enter_fullscreen (const video_mode &aVideoMode)=0
 
virtual bool enabled () const =0
 
virtual void enable (bool aEnable)=0
 
virtual bool is_capturing () const =0
 
virtual void set_capture ()=0
 
virtual void release_capture ()=0
 
virtual void non_client_set_capture ()=0
 
virtual void non_client_release_capture ()=0
 
virtual i_string const & title_text () const =0
 
virtual void set_title_text (i_string const &aTitleText)=0
 
virtual border border_thickness () const =0
 
virtual bool can_render () const =0
 
virtual void render (bool aOOBRequest=false)=0
 
virtual void display ()=0
 
- Public Member Functions inherited from neogfx::i_property_owner
virtual ~i_property_owner ()=default
 
virtual void property_changed (i_property &aProperty)=0
 
virtual const i_propertiesproperties () const =0
 
virtual i_propertiesproperties ()=0
 
- Public Member Functions inherited from neogfx::i_object
virtual ~i_object ()=default
 
virtual i_objectas_object ()=0
 
virtual void class_name (neolib::i_string &aClassName) const =0
 
virtual neogfx::object_type object_type () const =0
 
- Public Member Functions inherited from neolib::i_object
 declare_event (destroying)
 
 declare_event (destroyed)
 
- Public Member Functions inherited from neolib::i_lifetime
virtual ~i_lifetime ()=default
 
virtual lifetime_state object_state () const =0
 
virtual std::shared_ptr< std::atomic< lifetime_state > > object_state_ptr () const =0
 
virtual bool is_creating () const =0
 
virtual bool is_alive () const =0
 
virtual bool is_destroying () const =0
 
virtual bool is_destroyed () const =0
 
virtual void set_alive ()=0
 
virtual void set_destroying ()=0
 
virtual void set_destroyed ()=0
 
- Public Member Functions inherited from neolib::i_reference_counted
virtual ~i_reference_counted ()=default
 
virtual void add_ref () const noexcept=0
 
virtual void release () const =0
 
virtual int32_t use_count () const noexcept=0
 
virtual const i_reference_countedrelease_and_take_ownership () const =0
 
virtual i_reference_countedrelease_and_take_ownership ()=0
 
virtual void pin () const noexcept=0
 
virtual void unpin () const =0
 
virtual i_ref_control_blockcontrol_block ()=0
 

Detailed Description

Definition at line 33 of file i_native_window.hpp.

Member Typedef Documentation

◆ abstract_type

◆ native_event

Constructor & Destructor Documentation

◆ ~i_native_window()

virtual neogfx::i_native_window::~i_native_window ( )
virtualdefault

Member Function Documentation

◆ activate()

virtual void neogfx::i_native_window::activate ( )
pure virtual

◆ attach()

virtual void neogfx::i_native_window::attach ( i_native_surface aSurface)
pure virtual

◆ attached()

virtual bool neogfx::i_native_window::attached ( ) const
pure virtual

◆ attachment()

virtual i_native_surface & neogfx::i_native_window::attachment ( ) const
pure virtual

◆ border_thickness()

virtual border neogfx::i_native_window::border_thickness ( ) const
pure virtual

◆ can_render()

virtual bool neogfx::i_native_window::can_render ( ) const
pure virtual

◆ close()

virtual void neogfx::i_native_window::close ( bool  aForce = false)
pure virtual

◆ current_event() [1/2]

virtual const native_event & neogfx::i_native_window::current_event ( ) const
pure virtual

◆ current_event() [2/2]

virtual native_event & neogfx::i_native_window::current_event ( )
pure virtual

◆ deactivate()

virtual void neogfx::i_native_window::deactivate ( )
pure virtual

◆ detach()

virtual void neogfx::i_native_window::detach ( )
pure virtual

◆ display()

virtual void neogfx::i_native_window::display ( )
pure virtual

◆ display_error_message()

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

◆ enable()

virtual void neogfx::i_native_window::enable ( bool  aEnable)
pure virtual

◆ enabled()

virtual bool neogfx::i_native_window::enabled ( ) const
pure virtual

◆ enter_fullscreen()

virtual void neogfx::i_native_window::enter_fullscreen ( const video_mode aVideoMode)
pure virtual

◆ events_queued()

virtual bool neogfx::i_native_window::events_queued ( ) const
pure virtual

◆ handle()

virtual void * neogfx::i_native_window::handle ( ) const
pure virtual

◆ handle_dpi_changed()

virtual void neogfx::i_native_window::handle_dpi_changed ( )
pure virtual

◆ handle_event() [1/2]

virtual void neogfx::i_native_window::handle_event ( )
pure virtual

◆ handle_event() [2/2]

virtual void neogfx::i_native_window::handle_event ( const native_event aNativeEvent)
pure virtual

◆ has_current_event()

virtual bool neogfx::i_native_window::has_current_event ( ) const
pure virtual

◆ has_parent()

virtual bool neogfx::i_native_window::has_parent ( ) const
pure virtual

◆ hide()

virtual void neogfx::i_native_window::hide ( )
pure virtual

◆ iconize()

virtual void neogfx::i_native_window::iconize ( )
pure virtual

◆ initialisation_complete()

virtual void neogfx::i_native_window::initialisation_complete ( )
pure virtual

◆ initialising()

virtual bool neogfx::i_native_window::initialising ( ) const
pure virtual

◆ is_active()

virtual bool neogfx::i_native_window::is_active ( ) const
pure virtual

◆ is_capturing()

virtual bool neogfx::i_native_window::is_capturing ( ) const
pure virtual

◆ is_effectively_active()

virtual bool neogfx::i_native_window::is_effectively_active ( ) const
pure virtual

◆ is_fullscreen()

virtual bool neogfx::i_native_window::is_fullscreen ( ) const
pure virtual

◆ is_iconic()

virtual bool neogfx::i_native_window::is_iconic ( ) const
pure virtual

◆ is_maximized()

virtual bool neogfx::i_native_window::is_maximized ( ) const
pure virtual

◆ is_nested()

virtual bool neogfx::i_native_window::is_nested ( ) const
pure virtual

◆ is_restored()

virtual bool neogfx::i_native_window::is_restored ( ) const
pure virtual

◆ maximize()

virtual void neogfx::i_native_window::maximize ( )
pure virtual

◆ move_surface()

virtual void neogfx::i_native_window::move_surface ( const point aPosition)
pure virtual

◆ native_handle()

virtual void * neogfx::i_native_window::native_handle ( ) const
pure virtual

◆ non_client_release_capture()

virtual void neogfx::i_native_window::non_client_release_capture ( )
pure virtual

◆ non_client_set_capture()

virtual void neogfx::i_native_window::non_client_set_capture ( )
pure virtual

◆ opacity()

virtual double neogfx::i_native_window::opacity ( ) const
pure virtual

◆ parent() [1/2]

virtual const i_native_window & neogfx::i_native_window::parent ( ) const
pure virtual

◆ parent() [2/2]

virtual i_native_window & neogfx::i_native_window::parent ( )
pure virtual

◆ pixel_density()

virtual size & neogfx::i_native_window::pixel_density ( ) const
pure virtual

◆ placement_changed_explicitly()

virtual bool neogfx::i_native_window::placement_changed_explicitly ( ) const
pure virtual

◆ processing_event()

virtual bool neogfx::i_native_window::processing_event ( ) const
pure virtual

◆ pump_event()

virtual bool neogfx::i_native_window::pump_event ( )
pure virtual

◆ push_event()

virtual void neogfx::i_native_window::push_event ( const native_event aEvent)
pure virtual

◆ release_capture()

virtual void neogfx::i_native_window::release_capture ( )
pure virtual

◆ render()

virtual void neogfx::i_native_window::render ( bool  aOOBRequest = false)
pure virtual

◆ resize_surface()

virtual void neogfx::i_native_window::resize_surface ( const size aExtents)
pure virtual

◆ restore()

virtual void neogfx::i_native_window::restore ( )
pure virtual

◆ set_capture()

virtual void neogfx::i_native_window::set_capture ( )
pure virtual

◆ set_opacity()

virtual void neogfx::i_native_window::set_opacity ( double  aOpacity)
pure virtual

◆ set_placement_changed_explicitly()

virtual void neogfx::i_native_window::set_placement_changed_explicitly ( )
pure virtual

◆ set_title_text()

virtual void neogfx::i_native_window::set_title_text ( i_string const &  aTitleText)
pure virtual

◆ set_transparency()

virtual void neogfx::i_native_window::set_transparency ( double  aTransparency)
pure virtual

◆ show()

virtual void neogfx::i_native_window::show ( bool  aActivate = false)
pure virtual

◆ surface_extents()

virtual size neogfx::i_native_window::surface_extents ( ) const
pure virtual

◆ surface_position()

virtual point neogfx::i_native_window::surface_position ( ) const
pure virtual

◆ surface_window()

virtual i_surface_window & neogfx::i_native_window::surface_window ( ) const
pure virtual

◆ target_device_handle()

virtual void * neogfx::i_native_window::target_device_handle ( ) const
pure virtual

◆ target_handle()

virtual void * neogfx::i_native_window::target_handle ( ) const
pure virtual

◆ title_text()

virtual i_string const & neogfx::i_native_window::title_text ( ) const
pure virtual

◆ transparency()

virtual double neogfx::i_native_window::transparency ( ) const
pure virtual

◆ visible()

virtual bool neogfx::i_native_window::visible ( ) const
pure virtual

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