Changeset 1221 in josm for trunk/src/org/openstreetmap/josm/data/osm/visitor/SimplePaintVisitor.java
- Timestamp:
- 2009-01-09T09:42:46+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/SimplePaintVisitor.java
r1216 r1221 85 85 Rectangle bbox = new Rectangle(); 86 86 87 protected void getSettings(Boolean virtual) { 88 inactiveColor = Main.pref.getColor(marktr("inactive"), Color.DARK_GRAY); 89 selectedColor = Main.pref.getColor(marktr("selected"), Color.WHITE); 90 nodeColor = Main.pref.getColor(marktr("node"), Color.RED); 87 public void getColors() 88 { 89 inactiveColor = Main.pref.getColor(marktr("inactive"), Color.darkGray); 90 selectedColor = Main.pref.getColor(marktr("selected"), Color.red); 91 nodeColor = Main.pref.getColor(marktr("node"), Color.yellow); 91 92 dfltWayColor = Main.pref.getColor(marktr("way"), darkblue); 92 93 relationColor = Main.pref.getColor(marktr("relation"), teal); … … 94 95 incompleteColor = Main.pref.getColor(marktr("incomplete way"), darkerblue); 95 96 backgroundColor = Main.pref.getColor(marktr("background"), Color.BLACK); 97 } 98 99 protected void getSettings(Boolean virtual) { 96 100 showDirectionArrow = Main.pref.getBoolean("draw.segment.direction"); 97 101 showRelevantDirectionsOnly = Main.pref.getBoolean("draw.segment.relevant_directions_only", true);
Note:
See TracChangeset
for help on using the changeset viewer.