Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Color Themes and Icon Sets

Reply
 
Thread Tools Display Modes
Old 05-18-2019, 09:02 AM   #1
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 1,126
Default Show TCP Label only under a certain height

Hello everybody.
I'm trying to optimize my Theme to be able to show as many tracks as possible in the TCP.

WALTER is pretty hard for me to fully grasp and I don't want to break anything. I'm trying to hide everything but the track label on the TCP if the tracks are under a certain height. That way I'll be able to show a lot of tracks as a list.

Can somebody teach me how to do this in WALTER?
lexaproductions is online now   Reply With Quote
Old 05-18-2019, 09:32 AM   #2
cubic13
Human being with feelings
 
cubic13's Avatar
 
Join Date: Dec 2013
Location: Near Serre-Ponçon lake, french Alps
Posts: 855
Default

First thing, just in case : make a copy of the rtconfig.txt file. This done, I'm afraid that it's going to take you a while, bacause you'll have to add a height test on all the controls involved excepting the tcp.label one. And the value used for the test will depend of the non-Walter tcp_heights directive, which is usually in the header of the rtconfig.txt file, especially its second value which fixes the tcp panel height when the track is minimized, without being hidden.

Let's take an example and suppose that we have this in the rtconfig.txt header :

...
Code:
tcp_heights 4 25 49 49
...

This means that, when the tcp panel is minimized it will have a height of 25 pixels. If you want just the tcp.label control to be visible in this state, you'll have to explicitly make all the other ones disappear. From which, instead of having this for, i.e., the tcp.mute control :

Code:
set tcp.mute w<280 [0] w<489 + [272 0 16 21 1 0 1 0] + [360 0 16 21 0 0 0 0]
The test in bold should be added :

Code:
set tcp.mute h<26 [0] w<280 [0] w<489 + [272 0 16 21 1 0 1 0] + [360 0 16 21 0 0 0 0]
The result will be that, under a height of 26 pixels (= the minimized state at 25), the tcp.mute control will no longer be displayed. This should be done for all the controls existing in the tcp panel that are presently supposed to be visible when the tcp panel is at 25 pixels of height.

HTWH...
__________________
DAW: Ryzen 3700X|Asus X-470Pro|32Gb|2 SSD512(M2)+1024|W10Pro(64)|RME Fireface UCX+ADA8200
Soft: Reaper|Cubase 10|Emulator X3 & several other VSTis (2 bridged)...
Gear: VMK-188+|MPD32|ME30P|Korg 05R/W|Roland D110|Yamaha TX802|Pre-MIDI stuff...
cubic13 is offline   Reply With Quote
Old 05-19-2019, 02:20 AM   #3
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 1,126
Default

Thanks for this complete answer. I will try it out an report back
lexaproductions is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.