Skip to content

Commit

Permalink
Store edge slope in user preferences.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawi committed Nov 1, 2010
1 parent ed23922 commit 4c72a65
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -375,6 +375,9 @@ public void readPreferences( final Preferences aPreferences )

String colorSchemeName = aPreferences.get( "colorScheme", this.colorScheme.name() );
setColorScheme( ColorScheme.valueOf( colorSchemeName ) );

String edgeSlopeName = aPreferences.get( "edgeSlope", this.edgeSlope.name() );
setEdgeSlope( EdgeSlope.valueOf( edgeSlopeName ) );
}

/**
Expand Down Expand Up @@ -673,6 +676,7 @@ public void writePreferences( final Preferences aPreferences )

aPreferences.put( "colorTarget", this.colorTarget.name() );
aPreferences.put( "colorScheme", this.colorScheme.name() );
aPreferences.put( "edgeSlope", this.edgeSlope.name() );
}

/**
Expand Down

0 comments on commit 4c72a65

Please sign in to comment.