void gui_vfslist_cursor_down ( struct gui_vfslist gv,
int  silent 
)

Move the cursor one item down.

Definition at line 340 of file gui_vfslist.c.

00341 {
00342         struct vfsref *vr;
00343         
00344         if (gui_vfslist_warn_isempty(gv))
00345                 return;
00346 
00347         vr = vfs_list_next(gv->vr_selected);
00348         if (vr != NULL) {
00349                 gv->vr_selected = vr;
00350                 gv->idx_selected++;
00351 
00352                 g_assert(gv->idx_top + gv->winheight >= gv->idx_selected);
00353                 if (scrollpages && gv->idx_top + gv->winheight == gv->idx_selected) {
00354                         gv->vr_top = gv->vr_selected;
00355                         gv->idx_top = gv->idx_selected;
00356                 }
00357 
00358                 gui_vfslist_refresh(gv);
00359         } else if (!silent) {
00360                 gui_msgbar_warn(_("You are at the last song."));
00361         }
00362 }

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Defines
Generated on Mon Mar 15 04:45:34 2010 for herrie by  doxygen 1.6.3