JAL-2349 contact map interface todo
authorJim Procter <jprocter@issues.jalview.org>
Mon, 5 Dec 2016 21:43:58 +0000 (21:43 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 5 Dec 2016 21:43:58 +0000 (21:43 +0000)
src/jalview/renderer/ContactMapRenderer.java

index c0339cc..1f235b3 100644 (file)
@@ -79,6 +79,8 @@ public class ContactMapRenderer implements AnnotationRowRendererI
       // profl[1] is the number of values in the profile
       for (int stp = 0, ht = y2, eht = y2 - _aa.graphHeight; ht > eht; ht -= scale, stp++)
       {
+        // TODO show maximum colour for range
+        // also need a 'getMaxPosForRange(start,end)'
         g.setColor(contacts
                 .getColorForScore((int) (stp * step * ((double) _aa.graphHeight / (double) contacts
                         .getContactHeight()))));