快速登录:  

Forum: VirtualDJ Skins

话题: can we have 90 degree text

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

or sideways text in skin?
 

发表时间 Sat 15 Nov 14 @ 7:07 pm
FruitPRO InfinityMember since 2003
Of course :

direction="up"
 

发表时间 Sun 16 Nov 14 @ 11:07 am
That's not in the SDK :-)
 

发表时间 Sun 16 Nov 14 @ 11:30 am
had a further mess around and came up with orientation="vertical"
 

发表时间 Sun 16 Nov 14 @ 12:14 pm
FruitPRO InfinityMember since 2003
Oops, my bad sir !
 

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


...but in some skins :)
 

发表时间 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 ;-)
 

发表时间 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>
 

发表时间 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 ` `
 

发表时间 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......

 

发表时间 Tue 10 Feb 15 @ 12:17 pm
Use /n for new line so your text would like like this:

"T/nH/nI/nS"
 

发表时间 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. :-)
 

发表时间 Tue 10 Feb 15 @ 12:31 pm
[later] OOPS!!!!

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

Sorry for the confusion :)
 

发表时间 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
 

发表时间 Wed 11 Feb 15 @ 12:50 am


(陈旧帖子或论坛版块会自动关闭)