Exemple #1
0
        public void ToolkitMouseMove(ToolkitMouseButtons buttons, ToolkitKeys modifiers, int clicks, int x, int y, int delta)
        {
            IToolkitEventSink co = this.mControlWeakRef.Target as IToolkitEventSink;

            if (null != co)
            {
                co.ToolkitMouseMove(buttons, modifiers, clicks, x, y, delta);
            }
        }
Exemple #2
0
 // Override the pointer motion event from Xsharp.
 protected override void OnPointerMotion
     (int x, int y, ModifierMask modifiers)
 {
     if (sink != null)
     {
         sink.ToolkitMouseMove
             (DrawingWindow.MapButton(button),
             DrawingWindow.MapKey(KeyName.XK_VoidSymbol, modifiers),
             0, x, y, 0);
     }
 }