Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facility archetypes now have a string-based color #40

Merged
merged 2 commits into from
May 28, 2015

Conversation

gonuke
Copy link
Member

@gonuke gonuke commented May 28, 2015

Fixes #24

However, we should probably consider a better palette for VisFunctions.stringToColor().

This is a good task for @opotowsky and her viz class :)

@@ -536,7 +536,8 @@ public void retrieveSchema(String rawMetadata) {
public void buildDnDCircle(FacilityCircle circle, int i, String name){
circle.setRadius(40);
circle.setStroke(Color.BLACK);
circle.setFill(Color.web("#CF5300"));
circle.rgbColor=VisFunctions.stringToColor(name);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation issues

@gidden
Copy link
Member

gidden commented May 28, 2015

noting that @opotowsky is free to update based on her newly-gained expertise, I will merge

gidden added a commit that referenced this pull request May 28, 2015
Facility archetypes now have a string-based color
@gidden gidden merged commit 3e9395f into cyclus:v1.3.0-release May 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants