Fix RHold display for delay repeats.
This involved passing the EffectValue resulting from the resolution of an VALUE_TYPE_EXTRA to map_xml_value() and some more careful range checking. Also, the delay repeats effect needed an xml_label for the special 'repeat forever' value 100, which maps to the string RHold.
This commit is contained in:
@@ -35,7 +35,7 @@ typedef struct {
|
||||
|
||||
XmlSettings *get_xml_settings(guint id, guint position);
|
||||
gboolean value_is_extra(EffectValues *val, int value);
|
||||
gchar * map_xml_value(XmlSettings *xml, gint value);
|
||||
gchar * map_xml_value(XmlSettings *xml, EffectValues *values, gint value);
|
||||
// gchar *get_xml_label(guint id, guint position, gint type);
|
||||
|
||||
#endif /* GDIGI_XML_H */
|
||||
|
||||
Reference in New Issue
Block a user