Wt::SDLInput Class Reference

useful for transforming SDL events to normal Event More...

#include <sdlinput.h>

Inherits Wt::Singleton< DERIVED >< Wt::SDLInput >.

List of all members.

Public Member Functions

void setKeyboardGrabber (Widget *w)
void releaseKeyboardGrab ()
WidgetkeyboardGrabber () const
void setMouseGrabber (Widget *w)
WidgetmouseGrabber () const
void releaseMouseGrab ()

Protected Member Functions

 SDLInput ()

Static Protected Member Functions

static void handleKeyEvent (const SDL_Event *event)
static void handleMouseEvent (const SDL_Event *event)
static void handleActiveEvent (const SDL_Event *event)
static void handleQuitEvent (const SDL_Event *event)
static void handleVideoResizeEvent (const SDL_Event *event)
static void handleUnusualEvent (const SDL_Event *event)


class Singleton< SDLInput >


class  EventInfo
 converted event to wt semantics

Detailed Description

useful for transforming SDL events to normal Event

Constructor & Destructor Documentation

Wt::SDLInput::SDLInput (  )  [protected]

Member Function Documentation

void Wt::SDLInput::handleActiveEvent ( const SDL_Event *  event  )  [static, protected]

void Wt::SDLInput::handleKeyEvent ( const SDL_Event *  event  )  [static, protected]

void Wt::SDLInput::handleMouseEvent ( const SDL_Event *  event  )  [static, protected]

drag n' drop

void Wt::SDLInput::handleQuitEvent ( const SDL_Event *  event  )  [static, protected]

void Wt::SDLInput::handleUnusualEvent ( const SDL_Event *  event  )  [static, protected]

void Wt::SDLInput::handleVideoResizeEvent ( const SDL_Event *  event  )  [static, protected]

Widget * Wt::SDLInput::keyboardGrabber (  )  const

Widget * Wt::SDLInput::mouseGrabber (  )  const

void Wt::SDLInput::releaseKeyboardGrab (  ) 

void Wt::SDLInput::releaseMouseGrab (  ) 

void Wt::SDLInput::setKeyboardGrabber ( Widget w  ) 

void Wt::SDLInput::setMouseGrabber ( Widget w  ) 

Friends And Related Function Documentation

friend class Singleton< SDLInput > [friend]

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

Generated Fri Jul 28 19:22:38 2006.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.