igor::iEventWindowResize Class Reference

#include <iEventWindow.h>

Inherits igor::iEvent.

Public Member Functions

 iEventWindowResize (iWindowPtr window, int32 width, int32 height)
 
virtual const iaString getInfo () const override
 
int32 getWidth () const
 
int32 getHeight () const
 
- Public Member Functions inherited from igor::iEvent
 iEvent (iWindowPtr window=nullptr)
 
virtual ~iEvent ()=default
 
bool isOfKind (const iEventKind kind)
 
virtual iEventType getEventType () const =0
 
virtual iEventKindMask getEventKindMask () const =0
 
virtual const iaString getName () const =0
 
virtual const iaString getInfo () const
 
iWindowPtr getWindow () const
 
bool isConsumed () const
 
void consume ()
 
template<typename T , typename F >
bool dispatch (const F &func)
 

Detailed Description

window resize event

Constructor & Destructor Documentation

◆ iEventWindowResize()

igor::iEventWindowResize::iEventWindowResize ( iWindowPtr  window,
int32  width,
int32  height 
)

init members

Parameters
windowthe window that was resized
widthwidth of the window
heightheight of the window

Member Function Documentation

◆ getHeight()

int32 igor::iEventWindowResize::getHeight ( ) const
Returns
height of the window

◆ getInfo()

const iaString igor::iEventWindowResize::getInfo ( ) const
overridevirtual
Returns
information to event

Reimplemented from igor::iEvent.

◆ getWidth()

int32 igor::iEventWindowResize::getWidth ( ) const
Returns
width of the window

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