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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Scrolling Lines come up over Art - Sansa C250v1
« previous next »
  • Print
Pages: [1]

Author Topic: Scrolling Lines come up over Art - Sansa C250v1  (Read 1674 times)

Offline P33KAJ3W

  • Member
  • *
  • Posts: 11
Scrolling Lines come up over Art - Sansa C250v1
« on: December 19, 2007, 06:48:31 PM »
I modified the GSX theme to show art while it is on hold with the following code.

%wd
%X|bg-132x80x16.bmp|


%t1 %?mp<%al Stopped%ar-:--/-:-- |%al %pp/%pe%ar%pc/%pt |%al Paused%ar%pc/%pt |%al Seeking%ar%pc/%pt |%al Seeking%ar%pc/%pt >;%t1 %?mp<%al Stopped-:--/-:-- |%al %pp/%pe%ar%pc/%pt |%al Paused|%al Seeking%ar%pc/%pt |%al Seeking%ar%pc/%pt >
%s%ac%?ia<%ia|%?d2<%d2|Unknown Artist>>
%s%ac%?id<%id|%?d1<%d1|Unknown Album>>
%s%ac%?in<%in|%pp> - %?it<%it|%fn>
%pb|4|11|117|

%s%acNext: %?It<%It|%?Fn<%Fn|?>>

%xl|A|bat0-sc.bmp|115|5|
%xl|B|bat1-sc.bmp|115|5|
%xl|C|bat2-sc.bmp|115|5|
%xl|D|bat3-sc.bmp|115|5|
%xl|E|bat4-sc.bmp|115|5|
%t0.5 %?bp<%?bc<%xdA|%xdE>|%?bl<%xdA|%xdA|%xdB|%xdC|%xdD|%xdE|%xdE>>;%t0.5 %?bp<%?bc<%xdB|%xdE>|%?bl<%xdA|%xdA|%xdB|%xdC|%xdD|%xdE|%xdE>>;%t0.5 %?bp<%?bc<%xdC|%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%xdj|%xdj>;%t0.1 %?mp<%xda|%?pv<%xda|%xdb|%xdc|%xdd|%xde|%xdf|%xdg|%xdh|%xdi>|%xdk|%xdk|%xdk>;%t0.1 %?mp<%xda|%?pv<%xda|%xdb|%xdc|%xdd|%xde|%xdf|%xdg|%xdh|%xdi>|%xdl|%xdl|%xdl>;%t0.1 %?mp<%xda|%?pv<%xda|%xdb|%xdc|%xdd|%xde|%xdf|%xdg|%xdh|%xdi>|%xdm|%xdm|%xdm>;%t0.1 %?mp<%xda|%?pv<%xda|%xdb|%xdc|%xdd|%xde|%xdf|%xdg|%xdh|%xdi>|%xdn|%xdn|%xdn>;%t0.1 %?mp<%xda|%?pv<%xda|%xdb|%xdc|%xdd|%xde|%xdf|%xdg|%xdh|%xdi>|%xdo|%xdo|%xdo>;%t0.1 %?mp<%xda|%?pv<%xda|%xdb|%xdc|%xdd|%xde|%xdf|%xdg|%xdh|%xdi>|%xdp|%xdp|%xdp>;%t0.1 %?mp<%xda|%?pv<%xda|%xdb|%xdc|%xdd|%xde|%xdf|%xdg|%xdh|%xdi>|%xdq|%xdq|%xdq>

%Cl|0|0|||

%?mh<%C|>


...but track info comes up on the screen when the filename scrolls...

Anyway to fix this?
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Scrolling Lines come up over Art - Sansa C250v1
« Reply #1 on: December 21, 2007, 09:33:31 PM »
I don't really understand the question but maybe you want whatever it is that shows up on top of the album cover to be in a IF HOLD = FALSE statement?
Logged

Offline P33KAJ3W

  • Member
  • *
  • Posts: 11
Re: Scrolling Lines come up over Art - Sansa C250v1
« Reply #2 on: December 22, 2007, 05:13:17 PM »
The artest and the band info pop up over the Art when they scroll due to the length.

So I have full screen album art that looks gr8 but then a second goes by and the text begens to scroll over it.

Does that make sense?
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Scrolling Lines come up over Art - Sansa C250v1
« Reply #3 on: December 23, 2007, 10:47:06 AM »
So you want your code to say this?

If player is on hold -> Only display album art.
If player is not on hold -> Display the regular WPS.

If so, your problem is probably that the only thing that changes when you put hold on is it displays the album art over top of what's already there.  You need to have the information you don't want to appear when in hold mode inside a IF HOLD = FALSE bracket.

Short answer that doesn't involve me volunteering any more time:  Yes, there is probably a way to fix it if you play around with the code.
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Scrolling Lines come up over Art - Sansa C250v1
« Reply #4 on: December 25, 2007, 07:43:06 PM »
Code that updates will get redrawn over images.  This is to be expected.  You either need to ensure that your album art image and updated information do not occur on the same line or use conditionals to make sure that updates and display of the album art do not occur at the same time.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Scrolling Lines come up over Art - Sansa C250v1
 

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

Page created in 0.073 seconds with 16 queries.