Ejemplo n.º 1
0
        protected override bool OnMotionNotifyEvent(Gdk.EventMotion evnt)
        {
            HalfCell hc = GetHalfCell((int)evnt.X, (int)evnt.Y);

            if (!mouseOnCell.Equals(hc))
            {
                mouseOnCell = hc;
                ActivateOrDeactivateHalfCell(GetHalfCell((int)evnt.X, (int)evnt.Y), isDraw);
                this.QueueDraw();
            }

            return(base.OnMotionNotifyEvent(evnt));
        }