Changeset 27024 in osm for applications/editors/josm/plugins/livegps/src
- Timestamp:
- 2011-11-07T10:09:42+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/livegps/src/livegps/LiveGpsLayer.java
r26984 r27024 38 38 private static final String C_CURSOR_H = "livegps.cursor_height"; /* in pixels */ 39 39 private static final String C_CURSOR_W = "livegps.cursor_width"; /* in pixels */ 40 private static final String C_CURSOR_T = "livegps.cursor_thickness"; /* in pixels */ 40 41 private int refreshInterval; 41 42 private int centerInterval; … … 114 115 int TriaHeight = Main.pref.getInteger(C_CURSOR_H, 20); 115 116 int TriaWidth = Main.pref.getInteger(C_CURSOR_W, 10); 117 int TriaThick = Main.pref.getInteger(C_CURSOR_T, 4); 116 118 117 119 /* … … 148 150 g.setColor(Main.pref.getColor(C_LIVEGPS_COLOR_POSITION, Color.RED)); 149 151 150 for (int i = 0; i < = 3; i++, TriaHeight--, TriaWidth--) {152 for (int i = 0; i < TriaThick; i++, TriaHeight--, TriaWidth--) { 151 153 152 154 x[0] = screen.x + Math.round(TriaHeight * csin);
Note:
See TracChangeset
for help on using the changeset viewer.