public RgbLevelsEffectProcessor() { Name = "RgbLevelsEffect"; MinValue = 0; MidToneValue = 1; MaxValue = 255; RgbMinValue = 0; RgbMidToneValue = 1; RgbMaxValue = 255; RedMinValue = 0; RedMidToneValue = 1; RedMaxValue = 255; GreenMinValue = 0; GreenMidToneValue = 1; GreenMaxValue = 255; BlueMinValue = 0; BlueMidToneValue = 1; BlueMaxValue = 255; m_RgbLevelsEffect = new RgbLevelsEffect(); SetupEffectCategory(m_RgbLevelsEffect); m_propertyDescriptions = new Dictionary <string, PropertyDescription>(); m_propertyDescriptions.Add("MinValue", new PropertyDescription(0, 255, 0)); m_propertyDescriptions.Add("MidToneValue", new PropertyDescription(0.01, 9.9, 0)); m_propertyDescriptions.Add("MaxValue", new PropertyDescription(0, 255, 0)); AddEditors(); }
public RgbLevelsEffectProcessor() { Name = "RgbLevelsEffect"; MinValue = 0; MidToneValue = 1; MaxValue = 255; RgbMinValue = 0; RgbMidToneValue = 1; RgbMaxValue = 255; RedMinValue = 0; RedMidToneValue = 1; RedMaxValue = 255; GreenMinValue = 0; GreenMidToneValue = 1; GreenMaxValue = 255; BlueMinValue = 0; BlueMidToneValue = 1; BlueMaxValue = 255; m_RgbLevelsEffect = new RgbLevelsEffect(); SetupEffectCategory(m_RgbLevelsEffect); m_propertyDescriptions = new Dictionary<string, PropertyDescription>(); m_propertyDescriptions.Add("MinValue", new PropertyDescription(0, 255, 0)); m_propertyDescriptions.Add("MidToneValue", new PropertyDescription(0.01, 9.9, 0)); m_propertyDescriptions.Add("MaxValue", new PropertyDescription(0, 255, 0)); AddEditors(); }