Changeset 3858 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2011-02-05T18:28:47+01:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm/visitor/paint
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPaintSettings.java
r3691 r3858 108 108 } 109 109 110 public Color getSelectedColor(int alpha) { 111 return new Color(selectedColor.getRGB() & 0x00ffffff | (alpha << 24), true); 112 } 113 110 114 public Color getRelationSelectedColor() { 111 115 return relationSelectedColor; 112 116 } 113 117 118 public Color getRelationSelectedColor(int alpha) { 119 return new Color(relationSelectedColor.getRGB() & 0x00ffffff | (alpha << 24), true); 120 } 121 114 122 public Color getHighlightColor() { 115 123 return highlightColor; -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPainter.java
r3841 r3858 277 277 protected void drawArea(Polygon polygon, Color color, String name) { 278 278 279 /* set the opacity (alpha) level of the filled polygon */ 280 g.setColor(new Color(color.getRed(), color.getGreen(), color.getBlue(), fillAlpha)); 279 g.setColor(color); 281 280 282 281 if (outlineOnly) {
Note:
See TracChangeset
for help on using the changeset viewer.