Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: DJtheAudiophile on September 28, 2019, 03:39:39 AM

Title: Editing A Theme
Post by: DJtheAudiophile on September 28, 2019, 03:39:39 AM
Hello, I have a question about editing a theme. I have a iPod Video and I found a theme that I really like, Greyt Theme submitted by P Poorten. I like the Now Playing screen. It meets all my requirements that I’m looking for in a simple and clean design. Is there a way to edit the Main Menu screen and make it more clean in design and match the Now Playing screen? Put space between each line of text? Kind of like the Main Menu screen for Redux Theme by Justin Fite. http://themes.rockbox.org/index.php?themeid=2162 (http://themes.rockbox.org/index.php?themeid=2162)

Link to them:
 http://themes.rockbox.org/index.php?themeid=2926&target=ipodvideo (http://themes.rockbox.org/index.php?themeid=2926&target=ipodvideo)
Title: Re: Editing A Theme
Post by: Frankenpod on September 28, 2019, 11:02:44 AM
Not sure what you mean by 'put space between each line of text'.  Or what 'clean in design' means for that matter!

Do you mean use a larger font size?  That's the main difference between those two sbs screens.

You could, I suppose, just edit the greyt.cfg file and make it use the sbs file from that redux theme, while keeping the wps file from the greyt theme.  Just adding :

sbs: /.rockbox/wps/redux.sbs

to the cfg file should do it, as long as you have redux installed.

Or you could just pick a larger font for greyt, though that will change the wps font as well so you'd need to experiment to find one that fit.  Or you could edit the greyt.wps to specify a particular font for that screen, then change the font in greyt.cfg to the larger one you want in the sbs screen.  But that requires learning how wps scripts work.

You could also turn the menu icons off, as I suppose that's another difference, they are turned on by default with greyt.  If that's what you mean by 'clean'?

(Honestly, I don't get what you mean by that word in this context!)
Title: Re: Editing A Theme
Post by: DJtheAudiophile on September 30, 2019, 05:39:31 AM
Hello, sorry please bare I’m new here. I really like the greyt theme, and wanted the main menu to look clean and cut like the now playing screen. I don’t know how to edit or build a theme, currently  reading how. I was hoping someone could go at it. I made a mock up of what I envision the main menu looking like.

https://imgur.com/965TOUX (https://imgur.com/965TOUX)
Title: Re: Editing A Theme
Post by: Frankenpod on September 30, 2019, 09:09:09 AM
Will this do?


http://themes.rockbox.org/index.php?themeid=3050&target=ipod6g

Increasing the line-spacing on the sbs screen is tricky, I think you'd need to find an appropriate font that has empty space in it.  Not sure if there's any other way of doing it.


(though I still don't know what you mean by 'clean'!)
Title: Re: Editing A Theme
Post by: DJtheAudiophile on September 30, 2019, 08:27:12 PM
Sorry, by clean I meant cohesive design. Thank you for responding! I wasn’t expecting the mock up to be utilized that fast. Here is a finalized version the the main menu mock up.



Is there a way to change all the other menus, like database, system and etc with that design?
Title: Re: Editing A Theme
Post by: chris_s on October 02, 2019, 03:50:29 PM
Increasing the line-spacing on the sbs screen is tricky, I think you'd need to find an appropriate font that has empty space in it.  Not sure if there's any other way of doing it.
You can modify an existing font. This thread/post helped me a while ago when I was looking to solve the same problem:

http://forums.rockbox.org/index.php/topic,25177.msg169573.html#msg169573

Before and After pictures (note that the font size, with the exception of the header, is the same in each case)
Title: Re: Editing A Theme
Post by: Frankenpod on October 03, 2019, 10:03:04 AM
Thanks.  I'd forgotten you could do that.

I'm not that fussed about line-spacing myself, but seemed as if the OP wanted that effect on the menu screens.  Ideally the theme engine would have an option for customising the menu line spacing,  regardless of the font being used, IMO.

Remind me, 'cos I've forgotten, are you are talking about the simpler windows font conversion utility or the tiresome-to-build linux one with anti-aliassing?


  I converted a whole bunch of free(ish) fonts with the latter at one point, but the problem is there are so many different variations of licences for fonts I couldn't figure out which ones could be distributed.  Nor could I be bothered to work out how to share them here, other than occasionally including them with themes.  I just mess about with themes and stuff to put on my own ipod, and uploading them is an afterthought.

Also I'm puzzled what DJtheAudiophile's last post means - it refers to a linked image but there's no link included.  Dunno if he wants any changes to that greyt2 theme or not.  If he really wants wider line-spacing I suppose one could convert a font to do that and include it in that theme.  But unless he specifically asks for it I can't be bothered (and maybe not even then!).