View Single Post
Old 12-11-2019, 02:28 AM   #2
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Okay, I have now sussed out at which point the text flips orientation:-

with trackidx at 43px and below the text is drawn horizontal

At 44px and above the text is drawn vertical

My trackidx is based on the R6 default theme, on the left of the track pane. So I need to dig down into its code to see what I am missing.

From the drawTcp macro there are two lines of code for tcp.trackidx:-

set tcp.trackidx + + [0 0 this_tcp_indent] [folder_sec 0 0 0 0 0 0 1]
set tcp.trackidx ?supercollapsed{0} + tcp.trackidx * scale [0 0 0 40]


I understand that the first line of code is executed first, followed by the second.

I can probably ignore the second line for now as I am not looking into tracks that are "supercollapsed"

So I will have a look at that first line, expanding on its defined variables, and come back...


I'm back.

In that first line of code there are two variables;

this_tcp_indent which is set as follows:-

set this_tcp_indent * * scale tcp_indent{0} folderdepth{0}

folder_sec which is set as follows:-

set folder_sec * scale ?tcp_control_align{0} + [0 0 20] * [0 0 1] * tcp_indent{0} maxfolderdepth{0} + [0 0 20] * [0 0 1] * tcp_indent{0} folderdepth{0}


At this point I think I can simplify the above code by removing all instances of "scale" because I am not interested in having scaled layouts.


Right... off for another think...
__________________
Bandcamp // YouTube // SoundCloud

Last edited by synkrotron; 12-11-2019 at 02:45 AM.
synkrotron is offline   Reply With Quote