Sirikata
Public Types | Public Member Functions | Public Attributes
Sirikata::Input::WindowEvent Class Reference

Various SDL-specific events relating to the status of the top-level window. More...

#include <InputEvents.hpp>

Collaboration diagram for Sirikata::Input::WindowEvent:

List of all members.

Public Types

enum  WindowEventName {
  WindowShown, WindowExposed, WindowHidden, WindowMoved,
  WindowResized, WindowMinimized, WindowMaximized, WindowRestored,
  WindowMouseEnter, WindowMouseLeave, WindowFocused, WindowUnfocused,
  WindowQuit, Unknown
}

Public Member Functions

 WindowEvent (WindowEventName name, int data1, int data2)
WindowEventName name () const
int getX () const
int getY () const

Public Attributes

WindowEventName mName
int mData1
int mData2

Detailed Description

Various SDL-specific events relating to the status of the top-level window.


Member Enumeration Documentation

Enumerator:
WindowShown 
WindowExposed 
WindowHidden 
WindowMoved 
WindowResized 
WindowMinimized 
WindowMaximized 
WindowRestored 
WindowMouseEnter 
WindowMouseLeave 
WindowFocused 
WindowUnfocused 
WindowQuit 
Unknown 

Constructor & Destructor Documentation

Sirikata::Input::WindowEvent::WindowEvent ( WindowEventName  name,
int  data1,
int  data2 
) [inline]

Member Function Documentation

int Sirikata::Input::WindowEvent::getX ( ) const [inline]
int Sirikata::Input::WindowEvent::getY ( ) const [inline]
WindowEventName Sirikata::Input::WindowEvent::name ( ) const [inline]

Member Data Documentation


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