Gel2D - The free/open source game creation suite

Public Member Functions
gel::GelResizeEvent Class Reference

Resize event. More...

#include <gelEvent.h>

Inheritance diagram for gel::GelResizeEvent:
gel::GelEvent

List of all members.

Public Member Functions

 GelResizeEvent (GelSize olds, GelSize news)
 Constructor.
GelSize getSize () const
 Gets the window's dimensions.
GelSize getOldSize () const
 Gets the window's old dimensions.

Detailed Description

Resize event.


Constructor & Destructor Documentation

gel::GelResizeEvent::GelResizeEvent ( GelSize  olds,
GelSize  news 
)

Constructor.

Parameters:
olds: The window's dimensions prior to this resize event.
news: The window's new dimensions.

Member Function Documentation

GelSize gel::GelResizeEvent::getSize ( ) const [inline]

Gets the window's dimensions.

GelSize gel::GelResizeEvent::getOldSize ( ) const [inline]

Gets the window's old dimensions.


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