protected override bool OnMotionNotifyEvent(Gdk.EventMotion ev)
{
SelectItem (null);
Gdk.Point pt = new Gdk.Point ((int)ev.X, (int)ev.Y);
if (prelight_item != null) {
if (prelight_item.Bounds.Contains (pt))
return true;
else {
LinkItem item = prelight_item;
prelight_item = null;
QueueDrawArea (item.Bounds.X, item.Bounds.Y, item.Bounds.Width, item.Bounds.Height);
}
}
foreach (Item item in items) {
if (item is LinkItem && item.Bounds.Contains (pt)) {
prelight_item = item as LinkItem;
QueueDrawArea (item.Bounds.X, item.Bounds.Y, item.Bounds.Width, item.Bounds.Height);
break;
}
}
return true;
}