Ignore:
Timestamp:
2011-02-05T18:28:47+01:00 (13 years ago)
Author:
bastiK
Message:

mapcss: support for opacity & icon-image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPaintSettings.java

    r3691 r3858  
    108108    }
    109109
     110    public Color getSelectedColor(int alpha) {
     111        return new Color(selectedColor.getRGB() & 0x00ffffff | (alpha << 24), true);
     112    }
     113
    110114    public Color getRelationSelectedColor() {
    111115        return relationSelectedColor;
    112116    }
    113117
     118    public Color getRelationSelectedColor(int alpha) {
     119        return new Color(relationSelectedColor.getRGB() & 0x00ffffff | (alpha << 24), true);
     120    }
     121
    114122    public Color getHighlightColor() {
    115123        return highlightColor;
Note: See TracChangeset for help on using the changeset viewer.