implement a color mapper class
authorDiane Trout <diane@caltech.edu>
Sun, 12 Mar 2006 09:16:10 +0000 (09:16 +0000)
committerDiane Trout <diane@caltech.edu>
Sun, 12 Mar 2006 09:16:10 +0000 (09:16 +0000)
commit405a7ba78e41c730ce8efd889e290e959dd93103
treebd770efe8931b2124b3fccba05ba2bbb8d6aa63d
parente50600be90c5e5b44b011d73a97733b53966a3b0
implement a color mapper class
So I was deeply inspired by my habit of using nested python dictionaries
This provides the semantics of a hierarchy of 3 different colors.
A generic default, a per annotation "type" default, and an "instance" default.

it does assume there's only those 3 levels and nothing else, though it
probably is possible to make it more recursive and capable of supporting
arbitrary depths. However I don't need that.
alg/annotation_colors.cpp [new file with mode: 0644]
alg/annotation_colors.hpp [new file with mode: 0644]
alg/module.mk
alg/test/module.mk
alg/test/test_annotation_color.cpp [new file with mode: 0644]
mussagl.pro