Changeset 5426 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2012-08-11T20:57:23+02:00 (12 years ago)
Author:
stoecker
Message:

fix #7950 - broken build

File:
1 edited

Legend:

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

    r5421 r5426  
    1717    /** Preference: should arrows for oneways be displayed */
    1818    private boolean showOnewayArrow;
     19    private int defaultSegmentWidth;
    1920    /** Preference: should the segement numbers of ways be displayed */
    2021    private boolean showOrderNumber;
     
    6667        showOnewayArrow = Main.pref.getBoolean("draw.oneway", true);
    6768        useRealWidth = Main.pref.getBoolean("mappaint.useRealWidth", false);
     69        defaultSegmentWidth = Main.pref.getInteger("mappaint.segment.default-width", 2);
    6870
    6971        selectedColor = PaintColors.SELECTED.get();
     
    121123    }
    122124
     125    public int getDefaultSegmentWidth() {
     126        return defaultSegmentWidth;
     127    }
     128
    123129    public Color getSelectedColor(int alpha) {
    124130        return new Color(selectedColor.getRGB() & 0x00ffffff | (alpha << 24), true);
Note: See TracChangeset for help on using the changeset viewer.