Ignore:
Timestamp:
2016-01-03T18:13:45+01:00 (8 years ago)
Author:
bastiK
Message:

refactor some code from StyleCache into separate classes (see #9891)

File:
1 edited

Legend:

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

    r9278 r9284  
    6161import org.openstreetmap.josm.gui.mappaint.ElemStyles;
    6262import org.openstreetmap.josm.gui.mappaint.MapPaintStyles;
    63 import org.openstreetmap.josm.gui.mappaint.StyleCache.StyleList;
     63import org.openstreetmap.josm.gui.mappaint.StyleElementList;
    6464import org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource;
    6565import org.openstreetmap.josm.gui.mappaint.mapcss.Selector;
     
    18251825
    18261826        public void add(Node osm, int flags) {
    1827             StyleList sl = styles.get(osm, circum, nc);
     1827            StyleElementList sl = styles.get(osm, circum, nc);
    18281828            for (StyleElement s : sl) {
    18291829                output.add(new StyleRecord(s, osm, flags));
     
    18321832
    18331833        public void add(Relation osm, int flags) {
    1834             StyleList sl = styles.get(osm, circum, nc);
     1834            StyleElementList sl = styles.get(osm, circum, nc);
    18351835            for (StyleElement s : sl) {
    18361836                if (drawMultipolygon && drawArea && s instanceof AreaElement && (flags & FLAG_DISABLED) == 0) {
     
    18431843
    18441844        public void add(Way osm, int flags) {
    1845             StyleList sl = styles.get(osm, circum, nc);
     1845            StyleElementList sl = styles.get(osm, circum, nc);
    18461846            for (StyleElement s : sl) {
    18471847                if (!(drawArea && (flags & FLAG_DISABLED) == 0) && s instanceof AreaElement) {
Note: See TracChangeset for help on using the changeset viewer.