Connexion rapide:  

Forum: VirtualDJ Skins

Sujet can we have 90 degree text

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

or sideways text in skin?
 

Posté Sat 15 Nov 14 @ 7:07 pm
FruitPRO InfinityMember since 2003
Of course :

direction="up"
 

Posté Sun 16 Nov 14 @ 11:07 am
That's not in the SDK :-)
 

Posté Sun 16 Nov 14 @ 11:30 am
had a further mess around and came up with orientation="vertical"
 

Posté Sun 16 Nov 14 @ 12:14 pm
FruitPRO InfinityMember since 2003
Oops, my bad sir !
 

Posté Sun 16 Nov 14 @ 4:21 pm
FruitPRO InfinityMember since 2003
groovindj wrote :
That's not in the SDK :-)


...but in some skins :)
 

Posté Sun 16 Nov 14 @ 4:21 pm
Yes you can. I will get this added to the SDK.

I gather you've worked this out Mark, perhaps post the code for others ;-)
 

Posté Mon 17 Nov 14 @ 4:19 pm
<textzone orientation="vertical">
<pos x="0" y="0" />
<size width="20" height="970"/>
<text size="15" format="`get_browsed_filepath`"/>
</textzone>
 

Posté Tue 18 Nov 14 @ 2:02 pm
<textzone orientation="vertical">
<pos x="0" y="0" />
<size width="20" height="970"/>
<text size="20" action="get_browsed_filepath"/>
</textzone>

You can also use action - rather than having the ` `
 

Posté Tue 18 Nov 14 @ 2:32 pm
I've just tried using this to display a limit warning down the centre of a VU meter (between the L & R bars) and found that the entire text is sideways.

What I wanted was the letters to be the correct way up, but one under the other, like:
T
H
I
S

I can use a visual instead, and put bitmap letters into the PNG file - or have a separate textzone for each letter, one below the next I suppose......

 

Posté Tue 10 Feb 15 @ 12:17 pm
Use /n for new line so your text would like like this:

"T/nH/nI/nS"
 

Posté Tue 10 Feb 15 @ 12:27 pm
Thanks, I'll give it a try.

[later] No, that doesn't work. It shows everything literally, including all the /n.

It works OK with separate textzones for each letter, below each other. :-)
 

Posté Tue 10 Feb 15 @ 12:31 pm
[later] OOPS!!!!

It should be \n
"T\nH\I\nS"

Sorry for the confusion :)
 

Posté Tue 10 Feb 15 @ 2:15 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
and make sure the height of the textzone is big enough to fit all the lines
 

Posté Wed 11 Feb 15 @ 12:50 am


(Les anciens sujets et forums sont automatiquement fermés)