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
| | |-+  Viewports over Album Art...
« previous next »
  • Print
Pages: [1]

Author Topic: Viewports over Album Art...  (Read 2188 times)

Offline Angyman

  • Member
  • *
  • Posts: 54
Viewports over Album Art...
« on: March 24, 2008, 11:26:14 AM »
I tried now several things without success and wanted to know if someone else found a workaround:

Case: Draw Text at the position of the Album Art if no album art is found...

Problem: I get only scrolling lines drawn (if they actually scroll... the pure %s definition is not sufficient)

Why: Very small Screen... Would like to enjoy album art very big if possible otherwise draw text with different fonts = different viewports. As far as i know theres not yet any possibility to define viewports in conditionals which would solve this entirely
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: Viewports over Album Art...
« Reply #1 on: March 24, 2008, 11:51:41 PM »
You mean one viewport or two (one for album art and one for text)

With one viewport define the album art in the text viewport
Code: [Select]
%V|11|25|136|73|1|B8B8B8|000000|
%al%s%?C<%m|51|%?it<%it|%fn>|%?it<%it|%fn>>
%al%s%?C<%m|51|%?ia<%ia|Unknown Artist>|%?ia<%ia|Unknown Artist>>
%al%s%?C<%m|51|%?id<%id|Unknown Album>|%?id<%id|Unknown Album>>
%al%s%?C<%m|51|%?id<%?iy<%iy|%fc>|%fc>|%?id<%?iy<%iy|%fc>|%fc>>%ar%pp/%pe
%Cl|0|0|sc50|sc50|
%?C<%C|>

The font is 12pt, I see if you use two viewports then I can see the overlaping issue or if the text viewport is too small to fit the album art in.
« Last Edit: March 24, 2008, 11:58:56 PM by Hweb21 »
Logged

Offline Angyman

  • Member
  • *
  • Posts: 54
Re: Viewports over Album Art...
« Reply #2 on: March 25, 2008, 01:19:05 PM »
Yes the margin trick works i know but doesnt allow different fonts sizes ;-(
Already tried that... but like you mentioned the overlapping viewports are the problem.

Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Viewports over Album Art...
« Reply #3 on: March 25, 2008, 04:16:56 PM »
No, there's no way to do what you want, but I would like there to be...

I'm still thinking about how to handle conditionals and viewports.
Logged

Offline Angyman

  • Member
  • *
  • Posts: 54
Re: Viewports over Album Art...
« Reply #4 on: March 25, 2008, 07:16:13 PM »
So i'll wait and hope  ;D
Logged

Offline blackthunder

  • Member
  • *
  • Posts: 26
Re: Viewports over Album Art...
« Reply #5 on: March 27, 2008, 09:10:43 PM »
In older custom builds before viewports were in svn.  the viewports were see through and I could have multiple in the same area solving this problem, now it covers up, why is that?
Logged

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Viewports over Album Art...
« Reply #6 on: March 28, 2008, 11:58:14 AM »
linuxstb told me it was a bug.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Viewports over Album Art...
 

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

Page created in 0.09 seconds with 15 queries.