wxMouseState
Implements methods from the following classes
wxKeyboardState
Methods
wxMouseState
Default constructor.
Aux1IsDown
Returns true if the first extra button mouse button is currently down.
Aux2IsDown
Returns true if the second extra button mouse button is currently down.
GetPosition
Returns the physical mouse position.
GetX
Returns X coordinate of the physical mouse event position.
GetY
Returns Y coordinate of the physical mouse event position.
LeftIsDown
Returns true if the left mouse button is currently down.
MiddleIsDown
Returns true if the middle mouse button is currently down.
RightIsDown
Returns true if the right mouse button is currently down.
SetAux1Down
SetAux2Down
SetLeftDown
SetMiddleDown
SetPosition
SetRightDown
SetState
SetX
SetY
Static Methods
wxMouseState
wxMouseState
( )
Default constructor.
Aux1IsDown
bool
Aux1IsDown
( )
Returns true if the first extra button mouse button is currently down.
Aux2IsDown
bool
Aux2IsDown
( )
Returns true if the second extra button mouse button is currently down.
GetPosition
wxPoint
GetPosition
( )
Returns the physical mouse position.
GetX
integer
GetX
( )
Returns X coordinate of the physical mouse event position.
GetY
integer
GetY
( )
Returns Y coordinate of the physical mouse event position.
LeftIsDown
bool
LeftIsDown
( )
Returns true if the left mouse button is currently down.
MiddleIsDown
bool
MiddleIsDown
( )
Returns true if the middle mouse button is currently down.
RightIsDown
bool
RightIsDown
( )
Returns true if the right mouse button is currently down.
SetAux1Down
SetAux1Down
(
bool
$down
)
SetAux2Down
SetAux2Down
(
bool
$down
)
SetLeftDown
SetLeftDown
(
bool
$down
)
SetMiddleDown
SetMiddleDown
(
bool
$down
)
SetPosition
SetPosition
(
wxPoint
$pos
)
SetRightDown
SetRightDown
(
bool
$down
)
SetState
SetState
(
wxMouseState
$state
)
SetX
SetX
(
integer
$x
)
SetY
SetY
(
integer
$y
)