Exemplo n.º 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;
        }
Exemplo n.º 2
0
        public EcoreEventMouseButtonDown(IntPtr EventInfo)
        {
            EcoreEventMouseButtonDown e = new EcoreEventMouseButtonDown();

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

            button       = e.button;
            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;
            double_click = e.double_click;
            triple_click = e.triple_click;
        }
Exemplo n.º 3
0
 public EcoreEventMouseIn()
 {
     root = new EcoreEventMouseButtonRoot();
 }
Exemplo n.º 4
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.º 5
0
	   public EcoreEventMouseIn()
	   {
		   root = new EcoreEventMouseButtonRoot();
	   }
Exemplo n.º 6
0
	   public EcoreEventMouseButtonUp(IntPtr EventInfo)
	   {
		   EcoreEventMouseButtonUp e = new EcoreEventMouseButtonUp();
		   e = (EcoreEventMouseButtonUp)Marshal.PtrToStructure(EventInfo, typeof(EcoreEventMouseButtonUp));

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

		   button = e.button;
		   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;
		   double_click = e.double_click;
		   triple_click = e.triple_click;
	   }