GrandOrgue / grandorgue

GrandOrgue software
Other
175 stars 43 forks source link

Added an internal OR switch to every drawstop #2012

Closed oleg68 closed 1 month ago

oleg68 commented 2 months ago

This is the second PR related to #1935

It adds an internal OR switch to every drawstop. The switch has several named entries. The default entry has an wxEmptyString name.

When any of drawstop switches named entry is activated, the drawstop is also activated. When all of the entries are deactivated the drawstop is also deactivated.

Now this capability is not used and it will be used in a future PR for the Add mode of Crescendo.

So no GO behavior should be used now.

oleg68 commented 1 month ago

@larspalo I fixed the behavior of AND switches.

oleg68 commented 1 month ago

@rousseldenis could you approve this PR?