Ejemplo n.º 1
0
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);
}
Ejemplo n.º 2
0
void setCDKScrollCurrent (CDKSCROLL *scrollp, int item)
{
   scroller_SetPosition (scrollp, item);
}
Ejemplo n.º 3
0
void setCDKScrollCurrentItem (CDKSCROLL *widget, int item)
{
   scroller_SetPosition (widget, item);
}
Ejemplo n.º 4
0
/*
 * This allows the user to accelerate to a position in the scrolling list.
 */
void setCDKScrollPosition (CDKSCROLL *scrollp, int item)
{
    scroller_SetPosition ((CDKSCROLLER *)scrollp, item);
}