r1032: Make threshold low, mid, high colors configurable.
commit08f0fa7df070fc310f34819df359d6a648b92cf3
authorJohannes Sixt <johannes.sixt@telecom.at>
Mon, 24 Sep 2007 19:07:33 +0000 (24 19:07 +0000)
committerJohannes Sixt <johannes.sixt@telecom.at>
Mon, 24 Sep 2007 19:07:33 +0000 (24 19:07 +0000)
tree1c5987c528f5d833c03f3ce6ee25c116c86b144c
parentdb3dda884c5d5e1627aa5dcc131d689f79a6686b
r1032: Make threshold low, mid, high colors configurable.

Original code used two colors (black and white) for three ranges. This
change allows user to specify each of the three colors independently,
including alpha.

Also refactored color handling into a new RGBA class. This class probably
has utility outside of threshold, but it's used only here now so this is
where it's defined. It can be moved as needed.

Patch by Craig Lawson.
plugins/threshold/threshold.C
plugins/threshold/threshold.h
plugins/threshold/thresholdwindow.C
plugins/threshold/thresholdwindow.h
quicktime/colormodels.c
quicktime/colormodels.h