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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  New theme: Film
« previous next »
  • Print
Pages: [1]

Author Topic: New theme: Film  (Read 1974 times)

Offline rosco_pc

  • Member
  • *
  • Posts: 76
New theme: Film
« on: May 09, 2009, 09:07:18 PM »
Posted a new them for the gigabeat: Film

It is inspired by a Sansa theme (which I can not seem to find anymore), which I re-created from memory. It support 200x200 album art (just LOVE the jpeg and resize support).

The top bar was meant to be used for some additional information, but I ran out of view ports (the volume & battery indicators use 10 view ports each)

Hope you like it

[edited: fixed some grammar errors, can not seem to write decent english anymore  :P]

* film.png (51.17 kB, 240x320 - viewed 244 times.)
« Last Edit: May 10, 2009, 08:22:40 AM by rosco_pc »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: New theme: Film
« Reply #1 on: May 09, 2009, 09:38:04 PM »
Why do you need more than one viewport for each of the two indicators you've said use ten? I haven't looked at your source, but judging from the picture there's no practical reason to need so many.
Logged

Offline rosco_pc

  • Member
  • *
  • Posts: 76
Re: New theme: Film
« Reply #2 on: May 10, 2009, 05:26:09 AM »
Initially I wanted to use bitmap strips, but since the indicators are vertical that meant that I needed 2 huge bmp files of 20X2000 approximately to cover all the possibilities. Together with the already big background file that gave me a bitmap buffer error. So I came up with the "one viewport per picture" idea as a solution. What I don't like about it is the large amount of conditional statements I needed, but is seems to work flawlessly on the gigabeat.

Now that I think about it a bit more I might try with one viewpport per indicator and just preload the same picture at different positions within that viewport. 
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: New theme: Film
« Reply #3 on: May 10, 2009, 05:52:04 AM »
Just had a quick look at the zip and it looks to me that the border.bmp is most likely the biggest waster of the bitmap buffer (the backdrop doesn't count as it uses the separate backdrop buffer not the WPS one) and contains a lot of "useless" area.

If I see correctly, you should be able to regain lots of space and get the same look if you just use the corner bits of it:
- four 6x6 pixels wide graphics are 4 x few bytes instead of
- one 200x200 pixels wide bitmap which is many many bytes.

Maybe that'll already free up enough for the strips?

Oh, and almost forgot: I think the theme looks nice and has an interesting idea behind. :)
« Last Edit: May 10, 2009, 08:56:54 AM by pixelma »
Logged

Offline rosco_pc

  • Member
  • *
  • Posts: 76
Re: New theme: Film
« Reply #4 on: May 10, 2009, 05:57:27 PM »
Pixelma: Thanks for the advise. I did not know that the backdrop used a different buffer, so automatically assumed that that was the problem.

I've now got it working with just one viewport per indicator and bitmaps :)

If I want the theme removed from the theme site (so I can re-upload it), who should I ask?
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: New theme: Film
« Reply #5 on: May 11, 2009, 06:03:02 AM »
I can remove it for you.  Edit:  done.
« Last Edit: May 11, 2009, 06:04:39 AM by AlexP »
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline rosco_pc

  • Member
  • *
  • Posts: 76
Re: New theme: Film
« Reply #6 on: May 12, 2009, 05:35:42 PM »
AlexP: Thanks

I've re-uploaded the theme now

Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  New theme: Film
 

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

Page created in 0.083 seconds with 15 queries.