Exemplo n.º 1
0
        public EcoreEventMouseIn(IntPtr EventInfo)
        {
            EcoreEventMouseIn e = new EcoreEventMouseIn();

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

            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;
            mode      = e.mode;
            detail    = e.detail;
            time      = e.time;
        }
Exemplo n.º 2
0
	   public EcoreEventMouseIn(IntPtr EventInfo)
	   {
		   EcoreEventMouseIn e = new EcoreEventMouseIn();
		   e = (EcoreEventMouseIn)Marshal.PtrToStructure(EventInfo, typeof(EcoreEventMouseIn));

		   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;
		   mode = e.mode;
		   detail = e.detail;
		   time = e.time;

	   }