|
Inherits Event.
Inherited by ClickEventImpl.
List of all members.
Public Methods |
| virtual bool | initialize (int button, bool pressed, int x, int y)=0 |
| virtual int | getButton () const=0 |
| virtual bool | isPressed () const=0 |
| virtual int | getX () const=0 |
| virtual int | getY () const=0 |
Detailed Description
Description of a mouse click event. All coordinates are in screen space.
Member Function Documentation
| virtual int ClickEvent::getButton |
( |
|
) |
const [pure virtual] |
|
|
|
Get the index of the pressed button. -
Scripted as:
-
[r/o int] button
|
| virtual int ClickEvent::getX |
( |
|
) |
const [pure virtual] |
|
|
|
Get the current X position. -
Scripted as:
-
[r/o int] x
|
| virtual int ClickEvent::getY |
( |
|
) |
const [pure virtual] |
|
|
|
Get the current Y position. -
Scripted as:
-
[r/o int] y
|
| virtual bool ClickEvent::initialize |
( |
int |
button, |
|
|
bool |
pressed, |
|
|
int |
x, |
|
|
int |
y |
|
) |
[pure virtual] |
|
| virtual bool ClickEvent::isPressed |
( |
|
) |
const [pure virtual] |
|
|
|
Returns true if the button is currently pressed. -
Scripted as:
-
[r/o int] pressed
|
The documentation for this struct was generated from the following file:
Flat Four Engine
Copyright (C) 2001 by 379, Inc.
|
This page generated by Doxygen
|
|