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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Use %cs tag instead of main menu top row
« previous next »
  • Print
Pages: [1]

Author Topic: Use %cs tag instead of main menu top row  (Read 2742 times)

Offline Biont

  • Member
  • *
  • Posts: 49
Use %cs tag instead of main menu top row
« on: February 23, 2010, 03:39:21 PM »
I have an idea for the base skin and main menu: Extending the %cs functionality and getting rid the main menu displaying the top row (Rockbox/Settings/Playlist/...). That would open up possibilities for themers and could even save screen space (by using multifont or images) Would that be feasible?

Turning off the top row would have to be optional to keep compatibility with older themes, of course

With the %cs tag being able to return the current menu screen as text/bitmap in a separate window, you could allow for a bunch of new theme layouts and save some vertical screen space as well (by displaying %cs left or right of the menu).

I hope I don't sound too confusing, excuse my bad english
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Use %cs tag instead of main menu top row
« Reply #1 on: February 23, 2010, 05:13:24 PM »
thw way I would prefer it done is to make the title text available to the skins and then fix up a setting to allow the title to be always hidden/displayed so the theme could choose (and the sbs could show the title however it wants).

I have no idea how to do that (cleanly) though
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Use %cs tag instead of main menu top row
« Reply #2 on: March 03, 2010, 03:15:01 PM »
fyi, I added %Lt and %li which let you put the title text and icon on the sbs... not exactly what you want, but can be a good start for you.
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Biont

  • Member
  • *
  • Posts: 49
Re: Use %cs tag instead of main menu top row
« Reply #3 on: March 03, 2010, 04:04:18 PM »
Awesome! I'll check them out as soon as I can. :D

I assume getting rid of the main menu's title is a bit more difficult?

Edit: I see, it already does that. Very very great. Thank you for adding this handy little feature
« Last Edit: March 03, 2010, 04:09:34 PM by Biont »
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Use %cs tag instead of main menu top row
« Reply #4 on: March 03, 2010, 04:15:24 PM »
%?Lt<> anywhere in your sbs will remove the menu title completly
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline epithetless

  • Member
  • *
  • Posts: 195
    • Dour Times
Re: Use %cs tag instead of main menu top row
« Reply #5 on: March 03, 2010, 08:26:20 PM »
Can we see an example .sbs file which uses the %Lt and %li tags, to illustrate their proper and potential use? I'm a bit uncertain about how to use them myself.
Logged
Rockboxed: Apple iPod 3G â€¢ Apple iPod nano 2G • iriver H120 • Sansa c250 v1 • Sansa Clip v1 • Sansa Clip v2 • Sansa Clip+ • Sansa e280 v1 • Sansa e280v2 • Sansa Fuze v1  |  non-Rockboxed: HTC Incredible [Android 2.2] • Sansa Fuze v2

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Use %cs tag instead of main menu top row
« Reply #6 on: March 03, 2010, 08:34:18 PM »
something like this maybe:
Code: [Select]
%xl|a|tango.bmp|0|0|32|
%Vi|10|30|-10|-10|1|-|-|

%Fl|2|24-Terminus-Bold|
%V|4|4|15|25|2|-|-|
%?Lt<%?Li<%xdaa|%xdab|%xdac|%xdad|%xdae|%xdaf|%xdag|%xdah|%xdai|%xdaj|%xdak|%xdal|%xdam|%xdan|%xdao|%xdap|%xdaq|%xdar|%xdas|%xdat|%xdau|%xdav|%xdaw|%xdax|%xday|%xdaz|%xdaA|%xdaB|%xdaC|%xdaD|%xdaE|%xdaF|>>
%V|20|0|-|25|2|-|-|
%?Lt<%Lt>

my mini2g sim has the title (without the icon) bold and centered at the top of the screen.
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Biont

  • Member
  • *
  • Posts: 49
Re: Use %cs tag instead of main menu top row
« Reply #7 on: March 04, 2010, 01:14:22 PM »
here's an example from my Breeze theme. This can really make a big difference



It's pretty much the same code as JdGordon's (thanks btw, writing the icon conditional by hand must be a pain... but so is creating a new iconset just for %Li  ;D)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Use %cs tag instead of main menu top row
 

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

Page created in 0.077 seconds with 14 queries.