SDL++
C++wrapperfortheSDLlibrary.

sdl::event::ResizeBase Struct Reference

Base for a resize event that exposes the SDL_ResizeEvent structure. More...

#include <WindowEvents.h>

Inheritance diagram for sdl::event::ResizeBase:
Collaboration diagram for sdl::event::ResizeBase:

List of all members.

Public Member Functions

 ResizeBase (const SDL_Event *event)
const SDL_ResizeEvent & get () const
const SDL_ResizeEvent & get ()

Detailed Description

Base for a resize event that exposes the SDL_ResizeEvent structure.

Definition at line 133 of file WindowEvents.h.


Constructor & Destructor Documentation

sdl::event::ResizeBase::ResizeBase ( const SDL_Event *  event) [inline]

Constructs a ResizeBase from a SDL_Event structure.

Parameters:
eventThe SDL_Event structure.

Definition at line 139 of file WindowEvents.h.


Member Function Documentation

const SDL_ResizeEvent& sdl::event::ResizeBase::get ( ) const [inline]

Exposes the SDL_ResizeEvent structure.

Returns:
The SDL_ResizeEvent structure.

Definition at line 146 of file WindowEvents.h.

const SDL_ResizeEvent& sdl::event::ResizeBase::get ( ) [inline]

Exposes the SDL_ResizeEvent structure.

Returns:
The SDL_ResizeEvent structure.

Definition at line 153 of file WindowEvents.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs