SdlxMouseButtonEvent.down constructor

SdlxMouseButtonEvent.down({
  1. int reserved = 0,
  2. int timestamp = 0,
  3. int windowId = 0,
  4. int which = 0,
  5. int button = 0,
  6. bool down = false,
  7. int clicks = 0,
  8. double x = 0,
  9. double y = 0,
})

Implementation

factory 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,
}) => SdlxMouseButtonEvent(
  type: SDL_EVENT_MOUSE_BUTTON_DOWN,
  reserved: reserved,
  timestamp: timestamp,
  windowId: windowId,
  which: which,
  button: button,
  down: down,
  clicks: clicks,
  x: x,
  y: y,
);