Hi,
I am interested in learning about the ability to add custom TCP elements.
To get started I set up a new theme with an empty TCP and have been trying to add a simple button and a command ID for "go to marker number 1." (I just picked that command because it seemed like an easy way to observe if the interaction worked).
This button is named tcp-custom-button-001.png
I am generally perplexed by code and syntax, but I tried to add WALTER code to the rtconfig that I thought might work.
Here is the code I used. It does not work. :-)
Code:
clear tcp.*
set tcp.size [460 80 ]
;custom tcp.custom.xyz text_label command_id accessibility_description button_image
;command_id 40161 = Markers: Go to marker 01
custom tcp.custom.button-001.button_image tcp-custom-button-001.png
custom tcp.custom.button-001.command_id 40161
set tcp.custom.button-001 [20 20 20 20]
I am writing here to ask if someone can demonstrate-for-dummies what the code should really look like to make the button appear and work.
Thank you!