void setCDKScrollCurrentTop (CDKSCROLL *widget, int item) { if (item < 0) item = 0; else if (item > widget->maxTopItem) item = widget->maxTopItem; widget->currentTop = item; scroller_SetPosition (widget, item); }
void setCDKScrollCurrent (CDKSCROLL *scrollp, int item) { scroller_SetPosition (scrollp, item); }
void setCDKScrollCurrentItem (CDKSCROLL *widget, int item) { scroller_SetPosition (widget, item); }
/* * This allows the user to accelerate to a position in the scrolling list. */ void setCDKScrollPosition (CDKSCROLL *scrollp, int item) { scroller_SetPosition ((CDKSCROLLER *)scrollp, item); }