forked from len0rd/rockbox
Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2c643b9f3e
commit
4d6374c923
107 changed files with 529 additions and 553 deletions
|
|
@ -74,16 +74,16 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
|
||||
if(parameter == NULL)
|
||||
{
|
||||
rb->splash(HZ*2, true, " Play .MID file ");
|
||||
rb->splash(HZ*2, "Play .MID file");
|
||||
return PLUGIN_OK;
|
||||
}
|
||||
|
||||
rb->splash(HZ, true, parameter);
|
||||
rb->splash(HZ, parameter);
|
||||
if(midimain(parameter) == -1)
|
||||
{
|
||||
return PLUGIN_ERROR;
|
||||
}
|
||||
rb->splash(HZ*3, true, "FINISHED PLAYING");
|
||||
rb->splash(HZ*3, "FINISHED PLAYING");
|
||||
/* Return PLUGIN_USB_CONNECTED to force a file-tree refresh */
|
||||
return PLUGIN_USB_CONNECTED;
|
||||
}
|
||||
|
|
@ -102,11 +102,11 @@ int midimain(void * filename)
|
|||
|
||||
printf("\nHello.\n");
|
||||
|
||||
rb->splash(HZ/5, true, "LOADING MIDI");
|
||||
rb->splash(HZ/5, "LOADING MIDI");
|
||||
|
||||
struct MIDIfile * mf = loadFile(filename);
|
||||
|
||||
rb->splash(HZ/5, true, "LOADING PATCHES");
|
||||
rb->splash(HZ/5, "LOADING PATCHES");
|
||||
if (initSynth(mf, "/.rockbox/patchset/patchset.cfg", "/.rockbox/patchset/drums.cfg") == -1)
|
||||
{
|
||||
return -1;
|
||||
|
|
@ -153,7 +153,7 @@ int midimain(void * filename)
|
|||
#endif
|
||||
|
||||
|
||||
rb->splash(HZ/5, true, " I hope this works... ");
|
||||
rb->splash(HZ/5, "I hope this works...");
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue