Permalink
Browse files

Updated for the move of the rendering parameters for atom draw colors…

… to the new IGeneratorParameter API
  • Loading branch information...
1 parent 8a996a7 commit db8d9bbe215ca14c52d19a12009fa67f047a5349 @egonw egonw committed with egonw Dec 28, 2009
@@ -51,7 +51,7 @@ public IRenderingElement generateElements(
atom.getHydrogenCount(),
alignment,
atom.getMassNumber(),
- super.getColorForAtom(atom, model));
+ super.getAtomColor(atom));
}
public boolean showCarbon(
@@ -61,7 +61,7 @@ public IRenderingElement generate(
text = atom.getSymbol();
}
Point2d p = atom.getPoint2d();
- Color c = getColorForAtom(atom, model);
+ Color c = getAtomColor(atom);
TextGroupElement textGroup = new TextGroupElement(p.x, p.y, text, c);
decorate(textGroup, ac, atom, model);
return textGroup;

0 comments on commit db8d9bb

Please sign in to comment.