mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-27 15:56:18 -04:00
Theme Editor: Enabled conditional display of ID3/file info with checkbox on the device panel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27296 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
71b561e3df
commit
68756cca43
2 changed files with 9 additions and 0 deletions
|
|
@ -906,6 +906,14 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional,
|
||||||
else
|
else
|
||||||
child = 1;
|
child = 1;
|
||||||
}
|
}
|
||||||
|
else if(element->tag->name[0] == 'i' || element->tag->name[0] == 'I'
|
||||||
|
|| element->tag->name[0] == 'f' || element->tag->name[0] == 'F')
|
||||||
|
{
|
||||||
|
if(info.device()->data("id3available").toBool())
|
||||||
|
child = 0;
|
||||||
|
else
|
||||||
|
child = 1;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
child = val.toInt();
|
child = val.toInt();
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ rendersbs ; Render SBS If Available ; check ; true
|
||||||
rtl ; Right-To-Left Language ; check ; false
|
rtl ; Right-To-Left Language ; check ; false
|
||||||
|
|
||||||
[ID3 Info]
|
[ID3 Info]
|
||||||
|
id3available ; ID3 Info Available ; check ; true
|
||||||
ia ; Artist ; text ; Current Artist
|
ia ; Artist ; text ; Current Artist
|
||||||
ic ; Composer ; text ; Current Composer
|
ic ; Composer ; text ; Current Composer
|
||||||
iA ; Album Artist ; text ; Current Album Artist
|
iA ; Album Artist ; text ; Current Album Artist
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue