public static MouseEvent GetMouse() { WrapMEvent wme; CursesMethods.getmouse(out wme); return(new MouseEvent(wme.id, wme.x, wme.y, wme.z, (MouseState)wme.bstate)); }
public static void GetMouse(MouseEvent mevent) { WrapMEvent wme; CursesMethods.getmouse(out wme); mevent.Id = wme.id; mevent.X = wme.x; mevent.Y = wme.y; mevent.Z = wme.z; mevent.State = (MouseState)wme.bstate; }