diff widgets/PluginParameterBox.h @ 293:15b8a4bfe855

* continue to pick "new" colours for coloured layers even when all colours have been used at least once, rather than sticking on the last one * some messing about with application palette settings * when replacing an audio file, retain the previous playback settings for any layers that depended on the old file * re-check plugin program setting when a parameter changes -- so a plugin can decide to reset the program if the parameters no longer match those for the current program * fix failure to update check-boxes for toggled plugin parameters when their parameters are changed by program changes
author Chris Cannam
date Thu, 09 Aug 2007 14:40:03 +0000
parents a5b3c9f580c1
children c803eb18ebba
line wrap: on
line diff
--- a/widgets/PluginParameterBox.h	Mon Aug 06 14:37:59 2007 +0000
+++ b/widgets/PluginParameterBox.h	Thu Aug 09 14:40:03 2007 +0000
@@ -48,6 +48,7 @@
 
 protected:
     void populate();
+    void updateProgramCombo();
 
     QGridLayout *m_layout;
     Vamp::PluginBase *m_plugin;
@@ -60,8 +61,11 @@
         Vamp::PluginBase::ParameterDescriptor param;
     };
 
+    QComboBox *m_programCombo;
+
     std::map<QString, ParamRec> m_params;
     std::map<QString, QString> m_nameMap;
+    Vamp::PluginBase::ProgramList m_programs;
 };
 
 #endif