GSEventWindowWidgetClick Class Reference

Event Window Widget Click, when a user clicks on a highlighted widget. More...

Inheritance diagram for GSEventWindowWidgetClick:

GSEvent

Public Member Functions

 GSEventWindowWidgetClick (GSWindow::WindowClass window, uint32 number, uint8 widget)
GSWindow::WindowClass GetWindowClass ()
 Get the class of the window that was clicked.
uint32 GetWindowNumber ()
 Get the number of the window that was clicked.
uint8 GetWidgetNumber ()
 Get the number of the widget that was clicked.

Static Public Member Functions

static GSEventWindowWidgetClickConvert (GSEvent *instance)
 Convert an GSEvent to the real instance.

Detailed Description

Event Window Widget Click, when a user clicks on a highlighted widget.

Constructor & Destructor Documentation

GSEventWindowWidgetClick::GSEventWindowWidgetClick ( GSWindow::WindowClass  window,
uint32  number,
uint8  widget 
)

Parameters:
window The windowclass that was clicked.
number The windownumber that was clicked.
widget The widget in the window that was clicked.


Member Function Documentation

static GSEventWindowWidgetClick* GSEventWindowWidgetClick::Convert ( GSEvent instance  )  [inline, static]

Convert an GSEvent to the real instance.

Parameters:
instance The instance to convert.
Returns:
The converted instance.


Generated on Fri May 31 21:40:37 2013 for OpenTTD Game API by  doxygen 1.5.6