Support and General Use > Theming and Appearance Customization
is it possible to change the splash screen?
Kitty:
ok then mate... lets say we have this:
--- Quote --- display->mono_bitmap(bitmap_icons_7x8[mode], STATUSBAR_PLAY_MODE_X_POS,
STATUSBAR_Y_POS, STATUSBAR_PLAY_MODE_WIDTH,
STATUSBAR_HEIGHT);
--- End quote ---
ok? now, for now it displays a mono bitmap.. what if i change it from mono to regular bitmap (need to find out how first :]) and then change the icon const to a custom bitmap.. will it work ?:]
Mikerman:
--- Quote ---
--- Quote ---Quote from: Davide-NYC on August 30, 2006, 08:55:41 PM
Can I insert a delay of x seconds?
Is this easy to implement?
--- End quote ---
Yep, easy... Just add a sleep line in main.c in the function called app_main
--- End quote ---
Is it likewise possible to instead insert a "wait" state/command for the player to remain displaying the initial Rockbox screen, until any button is pressed? Thanks--
Mmmm:
--- Quote from: Kitty on September 02, 2006, 05:12:24 PM ---ok then mate... lets say we have this:
--- Quote --- Â display->mono_bitmap(bitmap_icons_7x8[mode], STATUSBAR_PLAY_MODE_X_POS,
          STATUSBAR_Y_POS, STATUSBAR_PLAY_MODE_WIDTH,
          STATUSBAR_HEIGHT);
--- End quote ---
ok? now, for now it displays a mono bitmap.. what if i change it from mono to regular bitmap (need to find out how first :]) and then change the icon const to a custom bitmap.. will it work ?:]
--- End quote ---
You mean just change the word 'mono' to 'regular'? Not a chance! mono_bitmap() is no doubt a function that deals with the input of the icon hex code and creates an icon for it. You would have to create a new function that would deal with a 16bit input.. Unless you are lucky and one is already there of course..I doubt it though. You'll have to grep for mono_bitmap, look at the code in whichever file it is in and start there...Probably not an easy job!
--- Quote from: Mikerman on September 02, 2006, 11:54:57 PM ---
--- Quote ---
--- Quote ---Quote from: Davide-NYC on August 30, 2006, 08:55:41 PM
Can I insert a delay of x seconds?
Is this easy to implement?
--- End quote ---
Yep, easy... Just add a sleep line in main.c in the function called app_main
--- End quote ---
Is it likewise possible to instead insert a "wait" state/command for the player to remain displaying the initial Rockbox screen, until any button is pressed? Â Thanks--
--- End quote ---
Instead of the sleep() function you could try
--- Code: ---get_action (CONTEXT_NONE,TIMEOUT_BLOCK);
--- End code ---
This will wait for a button press before continuing to execute.
Kitty:
ok then mate, what if we do something else.. can we make it load a bmp instead?!?
Mmmm:
--- Quote from: Kitty on September 03, 2006, 07:49:06 AM ---ok then mate, what if we do something else.. can we make it load a bmp instead?!?
--- End quote ---
They are already monochrome bmp files that you are loading (albeit converted ones)!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version