| 520 | } |
| 521 | |
| 522 | void PiuScroller_set_scroll(xsMachine* the) |
| 523 | { |
| 524 | PiuScroller* self = PIU(Scroller, xsThis); |
| 525 | xsIntegerValue x = 0, y = 0; |
| 526 | if (xsFindInteger(xsArg(0), xsID_x, &x)) |
| 527 | x -= (*self)->delta.x; |
| 528 | if (xsFindInteger(xsArg(0), xsID_y, &y)) |
| 529 | y -= (*self)->delta.y; |
| 530 | PiuScrollerScrollBy(self, (PiuCoordinate)x, (PiuCoordinate)y); |
| 531 | } |
| 532 | |
| 533 | void PiuScroller_set_tracking(xsMachine* the) |
| 534 | { |
nothing calls this directly
no test coverage detected