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
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  iTouch Theme
« previous next »
  • Print
Pages: [1]

Author Topic: iTouch Theme  (Read 3112 times)

Offline applefive

  • Member
  • *
  • Posts: 7
iTouch Theme
« on: November 28, 2007, 03:53:21 PM »
I think there needs to be a iTouch theme for the iPod 5g.  The only way I can think of to do this would be to make a vertical theme that required you to flip your iPod horizantaly like pacbox.  

There should be a new new type that would look really good and also a good size font.  Perhaps a line that was 240 by 40.
As for the wps, the album art would be 240 by 240 which would leave little room for anything else, but I think it would come out nice.

I can easily make the visual parts for a wps like this and probably do a little of the wps coding that i know, but I'd need some help getting everything aligned properly.

Could there be a screen-rotation patch?

That would be interesting a screen-rotating patch that allowed vertical themes!
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: iTouch Theme
« Reply #1 on: November 28, 2007, 04:25:42 PM »
There are ways to convert most fonts into Rockbox's .fnt format.  There's information on this in the wiki.

Feature requests should be filed on the tracker.  (Link is on the left side of the page.)
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: iTouch Theme
« Reply #2 on: November 29, 2007, 02:37:08 AM »
This isn't going to work. There's no way to get text displayed flipped through 90 degrees on the WPS.
Logged

Read The Manual Please

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: iTouch Theme
« Reply #3 on: November 29, 2007, 08:08:37 AM »
Quote from: applefive on November 28, 2007, 03:53:21 PM
Could there be a screen-rotation patch?

Check out Flyspray and see.
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: iTouch Theme
« Reply #4 on: November 29, 2007, 10:25:46 AM »
Quote from: GodEater on November 29, 2007, 02:37:08 AM
This isn't going to work. There's no way to get text displayed flipped through 90 degrees on the WPS.

Such a theme could of course be implemented for devices which natively have portrait displays though  - i.e. the Sansa E200 and Gigabeat F...
Logged

Offline applefive

  • Member
  • *
  • Posts: 7
Re: iTouch Theme
« Reply #5 on: November 30, 2007, 11:54:24 AM »
Quote from: GodEater on November 29, 2007, 02:37:08 AM
This isn't going to work. There's no way to get text displayed flipped through 90 degrees on the WPS.

Are you sure?  Pacbox pulled it off.  There is got to be some way to recode the wps setting to allow for rotated text.  

Be more specific when saying that there is no way to get the text flipped.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: iTouch Theme
« Reply #6 on: November 30, 2007, 12:04:33 PM »
The WPS and Pacbox are such drastically different situations.

The WPS has a lot of special purpose code for scrolling the text, drawing the images, etc. A lot of things are handled independently of each other, and are dependent upon the dimensions of the screen. Drawing the WPS rotated 90 degrees would, in its simplest form, simply require the entire Rockbox think the screen was 90 degrees rotated so that the scrolling functions are suited for this.

The other option, Runtime rotation, which is the more complicated one but the only one likely to get included, would need adaptations of everything so that it can handle drawing text one way or the other, rotate the images, etc.

Pacbox on the other hand is much, MUCH simpler. The entire game expects a portrait screen. Your player has a landscape screen. You just have to rotate the image it expects to draw 90 degrees.

With the WPS, you basically need to have all the code in Rockbox be able to draw to two different shaped screens.

Honestly, it's *possible* (in my mind) that viewports could fix this. If you have a 320x240 screen, it might be possible to give a viewport a flag to swap X/Y coordinates when drawing to the "real" screen (a 90 degree rotation of the viewport) then draw everything to a 240x320 viewport. Of course, this would depend on the viewports feature supporting such a thing.
« Last Edit: November 30, 2007, 12:06:16 PM by Llorean »
Logged

Offline applefive

  • Member
  • *
  • Posts: 7
Re: iTouch Theme
« Reply #7 on: November 30, 2007, 12:10:05 PM »
Okay I can understnad that.  I think though that his might be an interesting feature to add to rockbox sometime in the distant future.

Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: iTouch Theme
« Reply #8 on: November 30, 2007, 12:13:13 PM »
Then submit a patch.
Logged

Offline applefive

  • Member
  • *
  • Posts: 7
Re: iTouch Theme
« Reply #9 on: December 01, 2007, 10:18:30 AM »
I would, but first I need to learn coding.  And that will probably take a long time, because when learning something as complex as that, I tend to get overwelmed.
Logged

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

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

Page created in 0.104 seconds with 14 queries.