- Timestamp:
- 2010-03-29T23:19:33+02:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm/visitor/paint
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPaintSettings.java
r3159 r3165 31 31 private Color inactiveColor; 32 32 private Color nodeColor; 33 private Color taggedColor; 33 34 34 35 private MapPaintSettings() { … … 47 48 inactiveColor = PaintColors.INACTIVE.get(); 48 49 nodeColor = PaintColors.NODE.get(); 50 taggedColor = PaintColors.TAGGED.get(); 49 51 50 52 showOrderNumber = Main.pref.getBoolean("draw.segment.order_number", false); … … 95 97 } 96 98 99 public Color getNodeColor() { 100 return nodeColor; 101 } 102 103 public Color getTaggedColor() { 104 return taggedColor; 105 } 106 97 107 public boolean isShowOrderNumber() { 98 108 return showOrderNumber; … … 113 123 public int getUseStrokesDistance() { 114 124 return useStrokesDistance; 115 }116 117 public Color getNodeColor() {118 return nodeColor;119 125 } 120 126 -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/PaintColors.java
r3083 r3165 14 14 SELECTED(marktr("selected"), Color.red), 15 15 NODE(marktr("node"), Color.yellow), 16 TAGGED(marktr("tagged"), new Color(204, 255, 255)), // turquoise 16 17 DEFAULT_WAY(marktr("way"), new Color(0,0,128)), // dark blue 17 18 RELATION(marktr("relation"), new Color(0,128,128)), // teal -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/SimplePaintVisitor.java
r3164 r3165 61 61 protected Color backgroundColor; 62 62 protected Color highlightColor; 63 protected Color taggedColor; 63 64 protected boolean showDirectionArrow; 64 65 protected boolean showRelevantDirectionsOnly; … … 96 97 backgroundColor = PaintColors.BACKGROUND.get(); 97 98 highlightColor = PaintColors.HIGHLIGHT.get(); 99 taggedColor = PaintColors.TAGGED.get(); 98 100 } 99 101 … … 239 241 drawNode( 240 242 n, 241 (inactive || n.isDisabled()) ? inactiveColor : nodeColor, 243 (inactive || n.isDisabled()) ? inactiveColor : 244 (n.isTagged() ? taggedColor : nodeColor), 242 245 junction ? junctionNodeSize : unselectedNodeSize, 243 246 junction ? junctionNodeRadius : unselectedNodeRadius,
Note:
See TracChangeset
for help on using the changeset viewer.