SdlxMouseButtonEvent class
Constructors
- SdlxMouseButtonEvent({int type = 0, int reserved = 0, int timestamp = 0, int windowId = 0, int which = 0, int button = 0, bool down = false, int clicks = 0, double x = 0, double y = 0})
-
const
- SdlxMouseButtonEvent.down({int reserved = 0, int timestamp = 0, int windowId = 0, int which = 0, int button = 0, bool down = false, int clicks = 0, double x = 0, double y = 0})
-
factory
-
SdlxMouseButtonEvent.fromPointer(Pointer<
SdlEvent> pointer) -
factory
- SdlxMouseButtonEvent.up({int reserved = 0, int timestamp = 0, int windowId = 0, int which = 0, int button = 0, bool down = false, int clicks = 0, double x = 0, double y = 0})
-
factory
Properties
-
final
- clicks → int
-
final
- down → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reserved → int
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → int
-
finalinherited
- type → int
-
finalinherited
- which → int
-
final
- windowId → int
-
final
- x → double
-
final
- y → double
-
final
Methods
-
calloc(
) → Pointer< SdlEvent> -
override
-
isTargetWindow(
int targetId, {bool ifNoWindow = true}) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toNative(
[Allocator allocator = ffi.calloc]) → Pointer< SdlEvent> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited