static void gui_playq_statbar_refresh ( void   )  [static]

Refresh the bar above the playlist to show the correct title and time of the current track and the percentage of the playlist.

Definition at line 176 of file gui_playq.c.

00177 {
00178         const char *percent;
00179         int plen;
00180 
00181         gui_lock();
00182         /* Blank it */
00183         werase(win_statbar);
00184 
00185         /* Put the content back */
00186         mvwaddstr(win_statbar, 0, 1, str_status);
00187         waddstr(win_statbar, " | ");
00188         waddstr(win_statbar, str_song->str);
00189 
00190         percent = gui_vfslist_getpercentage(win_playq);
00191         plen = strlen(percent);
00192         mvwaddstr(win_statbar, 0, COLS - str_time->len - plen, str_time->str);
00193         waddstr(win_statbar, percent);
00194 
00195         /* And draw it */
00196         wnoutrefresh(win_statbar);
00197         gui_unlock();
00198 }

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:33 2010 for herrie by  doxygen 1.6.3