package ocelot.desktop.ui.event

import ocelot.desktop.geometry.Vector2D

/**
  * A synthetic event dispatched by [[ocelot.desktop.ui.event.handlers.MouseHandler MouseHandler]] on mouse click.
  */
case class ClickEvent(button: MouseEvent.Button.Value, mousePos: Vector2D) extends Event

/**
  * A synthetic event dispatched by [[ocelot.desktop.ui.event.handlers.MouseHandler MouseHandler]] on double-click
  * in addition to (and after) [[ClickEvent]].
  */
case class DoubleClickEvent(button: MouseEvent.Button.Value, mousePos: Vector2D) extends Event
/**
  * A synthetic event dispatched by [[ocelot.desktop.ui.event.handlers.MouseHandler MouseHandler]] on triple-click
  * in addition to (and after) [[ClickEvent]].
  */
case class TripleClickEvent(button: MouseEvent.Button.Value, mousePos: Vector2D) extends Event
