Exemple #1
0
        public EcoreEventMouseMove(IntPtr EventInfo)
        {
            EcoreEventMouseMove e = new EcoreEventMouseMove();

            e = (EcoreEventMouseMove)Marshal.PtrToStructure(EventInfo, typeof(EcoreEventMouseMove));

            modifiers = e.modifiers;
            x         = e.x;
            y         = e.y;
            root      = new EcoreEventMouseButtonRoot(e.root.x, e.root.y);
            win       = e.win;
            event_win = e.event_win;
            time      = e.time;
        }
Exemple #2
0
	   public EcoreEventMouseMove(IntPtr EventInfo)
	   {
		   EcoreEventMouseMove e = new EcoreEventMouseMove();
		   e = (EcoreEventMouseMove)Marshal.PtrToStructure(EventInfo, typeof(EcoreEventMouseMove));

		   modifiers = e.modifiers;
		   x = e.x;
		   y = e.y;
		   root = new EcoreEventMouseButtonRoot(e.root.x, e.root.y);
		   win = e.win;
		   event_win = e.event_win;
		   time = e.time;
	   }