Page 1 of 1

bitrate, frequency display to have pre/suf fix KBPS/KHZ

PostPosted: October 21st, 2006, 12:35 am
by SLoB
dont think this would be too much of a hit and would help keep fonts same etc.. but also allow for existing behaviour of labelling these

for both these keywords to have either prefix or suffix of KPBS, KHZ respectively, this would be handy as would be all the same font, perhaps a tristate variable for value
-1 prefix of either KPBS/KHZ
0 none shown
1 suffix of either KPBS/KHZ

for example
frequency(-1) - KHZ 44
bitrate(-1) - KPBS 192

default frequency(0)/frequency, bitrate(0)/bitrate as to not break existing skins/functionality
frequency(0) - 44
bitrate(0) - 192

frequency(1) - 44 KHZ
bitrate(1) - 192 KPBS

plus with support for either UPPER/lower/WordCaps case

PostPosted: October 21st, 2006, 9:59 am
by Cliff Cawley
I've added similar behaviour to what you have requested for build 62.

Instead of your suggestion i've allowed the ability to append and prepend text to any of the text layer objects by using the following keywords:

Code: Select All Code
pp(x) - Prepend text to a text layer. Replace x with the text you want to prepend to a text layer. Eg: bitrate pp(kbps: )


Code: Select All Code
ap(x) - Append text to a text layer. Replace x with the text you want to append to a text layer. Eg: bitrate ap( kbps)


Implementing it this way will mean that any further text layers will instantly support this method and the text is completely up to the skin author.

This actually even allows you to add your own tag into the track title, although I wouldn't recommend it ;) Later once I add the ability to customize the display title, the user will have the ability to turn this on and off anyway.

Cliff :)

PostPosted: October 22nd, 2006, 12:31 am
by SLoB
cool, good for dynamic labels, Cheers Cliff :)
will we get an indi text layer for EQ setting which we could pp(EQ: )?

PostPosted: October 22nd, 2006, 9:00 am
by Cliff Cawley
SLoB Wrote:cool, good for dynamic labels, Cheers Cliff :)
will we get an indi text layer for EQ setting which we could pp(EQ: )?


Not sure I follow. Do you want a text object that displays the name of the current Equalizer settings, I.e. 'Bass Booster' ??

Cliff :)

PostPosted: October 22nd, 2006, 9:34 pm
by SLoB
yep :)
have indi layers indicating if eq is on/off and which type is used

so we could for example even have custom buttons on skins to select the eq presets in future, sort of like a quick eq choosing list on the skin itself rather than having to open the prefs all the time, in time i would like to think that you might make the eq skinnable at some stage to be integrated with the main skin, also having the prefs one too as master of course