Changeset 5426 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2012-08-11T20:57:23+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPaintSettings.java
r5421 r5426 17 17 /** Preference: should arrows for oneways be displayed */ 18 18 private boolean showOnewayArrow; 19 private int defaultSegmentWidth; 19 20 /** Preference: should the segement numbers of ways be displayed */ 20 21 private boolean showOrderNumber; … … 66 67 showOnewayArrow = Main.pref.getBoolean("draw.oneway", true); 67 68 useRealWidth = Main.pref.getBoolean("mappaint.useRealWidth", false); 69 defaultSegmentWidth = Main.pref.getInteger("mappaint.segment.default-width", 2); 68 70 69 71 selectedColor = PaintColors.SELECTED.get(); … … 121 123 } 122 124 125 public int getDefaultSegmentWidth() { 126 return defaultSegmentWidth; 127 } 128 123 129 public Color getSelectedColor(int alpha) { 124 130 return new Color(selectedColor.getRGB() & 0x00ffffff | (alpha << 24), true);
Note:
See TracChangeset
for help on using the changeset viewer.