IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
layout of strings called in the per track script, trying to move string to the "top" layer, so it's visible
mizr3en
post Dec 16 2013, 11:21
Post #1





Group: Members
Posts: 2
Joined: 16-December 13
From: United States
Member No.: 113336



How do you specify the layout of a string called in a script? I am trying to overlay "now playing" information on the spectrum like this, but the text is below this panel. I understand that panel placement/layout depends on the tree order in Preferences > Display > Columns UI > "Layout" tab, but moving the lines of code in the "per track script" below does not make a difference. Thanks in advance!

Example code is:
CODE
$font(Segeo UI,14,)
$drawstring(%artist%,1,1,%_width%,%_height%,255-128-64-128,hcenter,)


This post has been edited by mizr3en: Dec 16 2013, 11:22
Go to the top of the page
+Quote Post
WilB
post Dec 16 2013, 12:23
Post #2





Group: Members
Posts: 259
Joined: 20-July 06
Member No.: 33113



If I understand correctly what you are trying to do then I do not believe panel stack splitter can overlay text on other panels (other panel is always "on top" of panel stack splitter). A method described in your linked post uses item details on top of the spectrum, which presumably is not suitable for you for some reason. I can think of two other options - neither may be ideal though. Firstly you could underlay the text and use a spectrum that supports pseudo-transparency (disadvantage is that spectrum bars may hide some of the underlayed text, but should be OK with careful positioning). Secondly, you could use OSD (but its a floating panel and so may not reposition correctly when resize windows etc) - e.g. see http://www.hydrogenaudio.org/forums/index....st&p=841955.

This post has been edited by WilB: Dec 16 2013, 13:09
Go to the top of the page
+Quote Post
mizr3en
post Dec 17 2013, 00:03
Post #3





Group: Members
Posts: 2
Joined: 16-December 13
From: United States
Member No.: 113336



QUOTE (WilB @ Dec 16 2013, 03:23) *
If I understand correctly what you are trying to do then I do not believe panel stack splitter can overlay text on other panels (other panel is always "on top" of panel stack splitter). A method described in your linked post uses item details on top of the spectrum, which presumably is not suitable for you for some reason. I can think of two other options - neither may be ideal though. Firstly you could underlay the text and use a spectrum that supports pseudo-transparency (disadvantage is that spectrum bars may hide some of the underlayed text, but should be OK with careful positioning). Secondly, you could use OSD (but its a floating panel and so may not reposition correctly when resize windows etc) - e.g. see http://www.hydrogenaudio.org/forums/index....st&p=841955.

Thank you WilB, using OSD accomplishes what I am trying to do. To clarify, I wanted the same information that's available in the "item details" but without a rectangular background blocking the panel behind it. For the interested reader, here's what the OSD looks like:

Note that you must check the top-most check box titled "Overlay" in Preferences > Display > On-Screen Display to make the OSD visible on the spectrum.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st April 2014 - 00:33