func (self *View) processMouseMove(w driver.Window, e event.MouseMove) { if self.content != nil { mouseMove(w, self.content, event.MouseMotion(e)) } if !e.Pressed.Empty() { self.changeMouseSelection(w, e.Position, e.Pressed) } }
func (self *View) processMouseExit(w driver.Window, e event.MouseExit) { if self.content != nil { mouseExit(w, self.content, event.MouseMotion(e)) } }