Advertisement
rotrevrep

Curse : get cursor

Sep 1st, 2016
2,551
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Vala 0.19 KB | None | 0 0
  1. [CCode (cname = "getcurx")]
  2. public int getcurx();
  3. [CCode (cname = "getcury")]
  4. public int getcury();
  5.  
  6. public void get_cursor (out int x, out int y) {
  7.     x = getcurx();
  8.     y = getcury();
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement