color_custom.py revision f3af6a560522a748493cf1599895bd3523ff7376
import coloreffect
class C(coloreffect.ColorEffect):
help="red channel function")
help="green channel function")
help="blue channel function")
dest="tab",
help="The selected UI-tab when OK was pressed")
dest="scale",
help="The input (r,g,b) range")
if v<0:
return 0.0
return v
# add stuff to be accessible from within the custom color function here.
try:
except:
c = C()
c.affect()