diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-05-28 10:35:42 +0000 |
|---|---|---|
| committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-05-28 10:35:42 +0000 |
| commit | 371af77a4ae90732ee84af6ab8d80ae63176256d (patch) | |
| tree | ca1acedc5835e8f75cdb108807a24c8da1c185a8 /apps/plugins | |
| parent | b6bea2dd321f712ddc62d657c89780b323a68f2b (diff) | |
| download | rockbox-371af77a4ae90732ee84af6ab8d80ae63176256d.zip rockbox-371af77a4ae90732ee84af6ab8d80ae63176256d.tar.gz rockbox-371af77a4ae90732ee84af6ab8d80ae63176256d.tar.bz2 rockbox-371af77a4ae90732ee84af6ab8d80ae63176256d.tar.xz | |
Use core splash for PictureFlow's error_wait, exit error display 2s after any keypress, remove DEBUGF committed accidentally.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21113 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index b95a86a..1f092d9 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c @@ -724,7 +724,6 @@ int create_album_index(void) rb->strcpy(buf, tcs.result); buf_size -= l; buf = l + (char *)buf; - DEBUGF("%lX: %s\n", tcs.idxfd[tag_album] ? rb->lseek(tcs.idxfd[tag_album], 0, SEEK_CUR) : -1, tcs.result); album[-album_count].seek = tcs.result_seek; old_l = l; album_count++; @@ -2362,14 +2361,10 @@ void draw_album_text(void) */ void error_wait(const char *message) { - rb->lcd_clear_display(); - int y; - rb->lcd_getstringsize(message, NULL, &y); - rb->lcd_putsxy(0, 0, message); - rb->lcd_putsxy(0, y, "Press SELECT to exit."); - rb->lcd_update(); - while (rb->get_action(CONTEXT_STD, 1) != ACTION_STD_OK) + rb->splashf(0, "%s. Press any button to continue.", message); + while (rb->get_action(CONTEXT_STD, 1) == ACTION_NONE) rb->yield(); + rb->sleep(2 * HZ); } /** |