justin = { main feed , music , code , askjf , social , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.

Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [all]

Question: In REAPER you have the name of a track, which is a text written by the user. User can modify this text in various places around the interface, and the text is updated everywhere. How's your approach to implement this? A global function called UpdateAllTrackTexts()? Trigger some event? Call each renderer object individually after the change is made?
Asked by Rodrigo (177.97.191.x) on March 14 2017, 3:28pm
Reply on March 15 2017, 1:33pm:
    When you update something on a track, the track has a "UpdateUI()" type function which goes around invalidating the relevant panels, and also marks the track manager as being dirty too. I think.
[back to index] | [unreplied] | [replied] | [all]
Copyright 2018 Justin Frankel. | RSS