Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  is it possible to change the splash screen?
« previous next »
  • Print
Pages: 1 [2]

Author Topic: is it possible to change the splash screen?  (Read 12212 times)

Offline Kitty

  • Member
  • *
  • Posts: 21
Re: is it possible to change the splash screen?
« Reply #15 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);

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 ?:]
Logged

Offline Mikerman

  • Artist
  • Member
  • *
  • Posts: 721
Re: is it possible to change the splash screen?
« Reply #16 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?

Yep, easy... Just add a sleep line in main.c in the function called app_main

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--
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: is it possible to change the splash screen?
« Reply #17 on: September 03, 2006, 07:23:33 AM »
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);

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 ?:]
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?

Yep, easy... Just add a sleep line in main.c in the function called app_main

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--

Instead of the sleep() function you could try
Code: [Select]
get_action (CONTEXT_NONE,TIMEOUT_BLOCK);
This will wait for a button press before continuing to execute.
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Kitty

  • Member
  • *
  • Posts: 21
Re: is it possible to change the splash screen?
« Reply #18 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?!?
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: is it possible to change the splash screen?
« Reply #19 on: September 03, 2006, 07:56:39 AM »
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?!?
They are already monochrome bmp files that you are loading (albeit converted ones)!
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Kitty

  • Member
  • *
  • Posts: 21
Re: is it possible to change the splash screen?
« Reply #20 on: September 03, 2006, 08:08:19 AM »
Quote from: Mmmm on September 03, 2006, 07:56:39 AM
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?!?
They are already monochrome bmp files that you are loading (albeit converted ones)!

ok mate i get that, and whats what i want to replace..

display->mono_bitmap prints a converted monochrome bmp right? i say, instead of it loading it.. i want it to load a diffrent bmp (like on wps for example ...)

i mean if the wps is changeable and can be designed, y not the browser ?:\
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: is it possible to change the splash screen?
« Reply #21 on: September 03, 2006, 08:33:07 AM »
Quote from: Kitty on September 03, 2006, 08:08:19 AM
Quote from: Mmmm on September 03, 2006, 07:56:39 AM
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?!?
They are already monochrome bmp files that you are loading (albeit converted ones)!

ok mate i get that, and whats what i want to replace..

display->mono_bitmap prints a converted monochrome bmp right? i say, instead of it loading it.. i want it to load a diffrent bmp (like on wps for example ...)

i mean if the wps is changeable and can be designed, y not the browser ?:\

Well, if you are just talking about the WPS, then you can load any bmps using the WPS tags. There is a tag to disable the status bar and then you just make your own in the usual WPS way.
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Kitty

  • Member
  • *
  • Posts: 21
Re: is it possible to change the splash screen?
« Reply #22 on: September 03, 2006, 09:05:34 AM »
my own wps for the browser?????!


look man, the way i see it there are 2 things:

1. the player it self.. what u see when a file is playing.. the progressbar, title, artist etc. ok? to make that one cooler, u use wps right? good..

2. is the "browser" - where u see all the settings, files etc. etc. now <--- there is a ugly status bar wich i wana custom.. u understand my thought?
Logged

Offline Didgeridoohan

  • Member
  • *
  • Posts: 102
Re: is it possible to change the splash screen?
« Reply #23 on: September 03, 2006, 06:13:02 PM »
Quote from: Kitty on September 03, 2006, 09:05:34 AM
2. is the "browser" - where u see all the settings, files etc. etc. now <--- there is a ugly status bar wich i wana custom.. u understand my thought?

IIRC some of the unofficial builds have the option to customise the statusbar (I reserve the right to be completely in the blue). Check them out...

You might also want to take a look at this patch:

http://www.rockbox.org/tracker/task/2931
« Last Edit: September 03, 2006, 06:15:29 PM by Didgeridoohan »
Logged
Remember, the MANUAL, WIKI and the SEARCH funtions are your friends.

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: is it possible to change the splash screen?
« Reply #24 on: September 04, 2006, 08:39:27 AM »
Quote from: Kitty on September 03, 2006, 09:05:34 AM
my own wps for the browser?????!


look man, the way i see it there are 2 things:

1. the player it self.. what u see when a file is playing.. the progressbar, title, artist etc. ok? to make that one cooler, u use wps right? good..

2. is the "browser" - where u see all the settings, files etc. etc. now <--- there is a ugly status bar wich i wana custom.. u understand my thought?
Right..yeah...what I originally thought you wanted was right...For some reason i missed the "y" in the previous post! :D

Have you seen the code for the WPS? It is a million times more complex than the browser code...Just a design decision I suppose....
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Kitty

  • Member
  • *
  • Posts: 21
Re: is it possible to change the splash screen?
« Reply #25 on: September 04, 2006, 10:04:44 AM »
Quote from: Didgeridoohan on September 03, 2006, 06:13:02 PM
You might also want to take a look at this patch:

http://www.rockbox.org/tracker/task/2931

well, i tried this patch but got errors:\
Logged

Offline rossy!

  • Member
  • *
  • Posts: 4
Re: is it possible to change the splash screen?
« Reply #26 on: September 05, 2006, 06:06:12 AM »
Is it possible to call a function from the wps code and make it display a 24bit bitmap in the status bar.
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: is it possible to change the splash screen?
« Reply #27 on: September 05, 2006, 06:11:48 AM »
Quote from: rossyMiles on September 05, 2006, 06:06:12 AM
Is it possible to call a function from the wps code and make it display a 24bit bitmap in the status bar.

No.

You CAN remove the status bar entirely, and put whatever you want there instead though.

This should likely be its own thread, as it has nothing to do with the splash screen.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  is it possible to change the splash screen?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.109 seconds with 14 queries.