Example #1
0
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)
	}
}
Example #2
0
func (self *View) processMouseExit(w driver.Window, e event.MouseExit) {
	if self.content != nil {
		mouseExit(w, self.content, event.MouseMotion(e))
	}
}