4 // to use this, you FIRST call configureSliderVisuals, then multiple times addValue, then configureTextSlider
6 CLASS(TextSlider, Slider)
7 METHOD(TextSlider, valueToText, string(entity, float));
8 METHOD(TextSlider, valueToIdentifier, string(entity, float));
9 METHOD(TextSlider, setValueFromIdentifier_allowAnim, void(entity, string, bool));
10 METHOD(TextSlider, setValueFromIdentifier_noAnim, void(entity, string));
11 METHOD(TextSlider, setValueFromIdentifier, void(entity, string));
12 METHOD(TextSlider, getIdentifier, string(entity));
13 METHOD(TextSlider, clearValues, void(entity));
14 METHOD(TextSlider, addValue, void(entity, string, string));
15 METHOD(TextSlider, insertValue, void(entity, float, string, string));
16 METHOD(TextSlider, configureTextSliderValues, void(entity, string));
17 ATTRIBARRAY(TextSlider, valueStrings, string, 256);
18 ATTRIBARRAY(TextSlider, valueIdentifiers, string, 256);
19 ATTRIB(TextSlider, nValues, int, 0);