2022-05-23 Fred Gleason <fredg@paravelsystems.com>

* Extended the 'Select Widget' ['PW'] RML to enable selection of
	the Voice Tracker widget.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2022-05-23 15:02:15 -04:00
parent cb8dfb1c38
commit 7230e1b912
3 changed files with 12 additions and 3 deletions

View File

@ -23161,3 +23161,6 @@
2022-05-23 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdadmin(1) in the 'Edit GPIs' dialog that
caused changes in macro cart assignments to fail to be saved.
2022-05-23 Fred Gleason <fredg@paravelsystems.com>
* Extended the 'Select Widget' ['PW'] RML to enable selection of
the Voice Tracker widget.

View File

@ -1587,7 +1587,8 @@
</para>
<para>
Select right-hand widget to log-machine <replaceable>mach</replaceable>
or <userinput>0</userinput> for sound panel.
or <userinput>0</userinput> for sound panel or
<userinput>4</userinput> for voice tracker.
</para>
</sect2>

View File

@ -2,7 +2,7 @@
//
// Local RML Macros for the Rivendell's RDAirPlay
//
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -779,7 +779,7 @@ void MainWidget::RunLocalMacros(RDMacro *rml)
}
return;
}
if((rml->arg(0).toInt()<0)||(rml->arg(0).toInt()>3)) {
if((rml->arg(0).toInt()<0)||(rml->arg(0).toInt()>4)) {
if(rml->echoRequested()) {
rml->acknowledge(false);
rda->ripc()->sendRml(rml);
@ -796,6 +796,11 @@ void MainWidget::RunLocalMacros(RDMacro *rml)
case 3:
fullLogButtonData(rml->arg(0).toInt()-1);
break;
case 4: // Voice Tracker
trackerButtonData();
break;
}
if(rml->echoRequested()) {
rml->acknowledge(true);