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
| | |-+  DEVS: Is this really how it shuld work or just a workaround?
« previous next »
  • Print
Pages: [1]

Author Topic: DEVS: Is this really how it shuld work or just a workaround?  (Read 1534 times)

Offline Angyman

  • Member
  • *
  • Posts: 54
DEVS: Is this really how it shuld work or just a workaround?
« on: June 10, 2008, 06:24:26 PM »
Hi all,
i am currently working on a theme and ran into that case which i thought should work but doesnt:
If album art found  show several alternating scroling sublines otherwise only one scrolling line

%?C< %al%s%t3 YES Album Text 01;%al%s%t3 YES Album Text 02 | %al%s NO Album Text >

This doesnot work instead i have to write that:


%?C< %al%s%t3 YES Album Text 01| %al%s%t3 NO Album Text >;%?C< %al%s%t3 YES Album Text 02| %al%s%t3 NO Album Text >


It works like that now but it appears to me more like a workaround... i expected the first version to work. I know this is just a minor and more or less unimportant thing.
« Last Edit: June 10, 2008, 06:27:23 PM by Angyman »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: DEVS: Is this really how it shuld work or just a workaround?
« Reply #1 on: June 10, 2008, 07:28:04 PM »
The ; denotes the end of a whole line, you cannot split a conditional with one. This is the way it's supposed to work.
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: DEVS: Is this really how it shuld work or just a workaround?
« Reply #2 on: June 10, 2008, 08:31:03 PM »
you could do this with conditional viewports (FS#9027)
Logged


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

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  DEVS: Is this really how it shuld work or just a workaround?
 

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

Page created in 0.072 seconds with 15 queries.