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

#include <window_events.hpp>

Public Types

typedef window_event abstract_type
 
typedef neolib::variant< neogfx::size, neogfx::pointparameter_type
 

Public Member Functions

 window_event (window_event_type aType, const parameter_type &aParameter=parameter_type{})
 
window_event_type type () const
 
bool has_parameter () const
 
neogfx::size extents () const
 
neogfx::point position () const
 
void set_extents (const neogfx::size &aExtents)
 
void set_position (const neogfx::point &aPosition)
 

Detailed Description

Definition at line 51 of file window_events.hpp.

Member Typedef Documentation

◆ abstract_type

◆ parameter_type

Constructor & Destructor Documentation

◆ window_event()

neogfx::window_event::window_event ( window_event_type  aType,
const parameter_type aParameter = parameter_type{} 
)
inline

Definition at line 58 of file window_events.hpp.

Member Function Documentation

◆ extents()

neogfx::size neogfx::window_event::extents ( ) const
inline

Definition at line 71 of file window_events.hpp.

◆ has_parameter()

bool neogfx::window_event::has_parameter ( ) const
inline

Definition at line 67 of file window_events.hpp.

◆ position()

neogfx::point neogfx::window_event::position ( ) const
inline

Definition at line 75 of file window_events.hpp.

◆ set_extents()

void neogfx::window_event::set_extents ( const neogfx::size aExtents)
inline

Definition at line 79 of file window_events.hpp.

◆ set_position()

void neogfx::window_event::set_position ( const neogfx::point aPosition)
inline

Definition at line 83 of file window_events.hpp.

◆ type()

window_event_type neogfx::window_event::type ( ) const
inline

Definition at line 63 of file window_events.hpp.


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