DlangUI MouseEvent mouse delta

stunaep via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 26 17:15:46 PDT 2016


I am currently handling it like this:

>current = e.pos();
>xdelta = current.x - previous.x;
>ydelta = current.y - previous.y;
>previous = current;
I'm just wondering if there is a built in solution that I missed.



More information about the Digitalmars-d-learn mailing list