comparison FXAnalyse.c @ 198:5cac684eb12e

Fix manual beatnote sign setting
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 31 Mar 2014 17:03:37 +0200
parents 87dae6d62a61
children 111610d871af
comparison
equal deleted inserted replaced
197:79db2c87d1b0 198:5cac684eb12e
1997 break; 1997 break;
1998 } 1998 }
1999 return 0; 1999 return 0;
2000 } 2000 }
2001 2001
2002 int CVICALLBACK CB_Sign3 (int panel, int control, int event, 2002 int CVICALLBACK CB_BeatnoteSign (int panel, int control, int event,
2003 void *callbackData, int eventData1, int eventData2) 2003 void *callbackData, int eventData1, int eventData2)
2004 { 2004 {
2005 switch (event) 2005 switch (event)
2006 { 2006 {
2007 case EVENT_COMMIT: 2007 case EVENT_COMMIT:
2008 GetCtrlVal(panel, control, &Sign3); 2008 switch(control) {
2009 case PANEL_SIGN1:
2010 GetCtrlVal(panel, control, &Sign1);
2011 break;
2012 case PANEL_SIGN2:
2013 GetCtrlVal(panel, control, &Sign2);
2014 break;
2015 case PANEL_SIGN3:
2016 GetCtrlVal(panel, control, &Sign3);
2017 break;
2018 }
2009 break; 2019 break;
2010 } 2020 }
2011 return 0; 2021 return 0;
2012 } 2022 }
2013 2023