Changeset 3691 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2010-12-03T00:36:07+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java
r3427 r3691 60 60 private JCheckBox useAntialiasing = new JCheckBox(tr("Smooth map graphics (antialiasing)")); 61 61 private JCheckBox makeAutoMarkers = new JCheckBox(tr("Create markers when reading GPX.")); 62 private JCheckBox outlineOnly = new JCheckBox(tr("Draw only outlines of areas")); 62 63 private JComboBox waypointLabel = new JComboBox(new String[] {tr("Auto"), /* gpx data field name */ trc("gpx_field", "Name"), 63 64 /* gpx data field name */ trc("gpx_field", "Desc(ription)"), tr("Both"), tr("None")}); … … 277 278 panel.add(inactive, GBC.eop().insets(20,0,0,0)); 278 279 280 // outlineOnly 281 outlineOnly.setSelected(Main.pref.getBoolean("draw.data.area_outline_only", false)); 282 outlineOnly.setToolTipText(tr("This option suppresses the filling of areas, overriding anything specified in the selected style.")); 283 panel.add(outlineOnly, GBC.eol().insets(20,0,0,5)); 284 279 285 panel.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.BOTH)); 280 286 scrollpane = new JScrollPane(panel); … … 285 291 public boolean ok() { 286 292 Main.pref.put("marker.makeautomarkers", makeAutoMarkers.isSelected()); 293 Main.pref.put("draw.data.area_outline_only", outlineOnly.isSelected()); 287 294 Main.pref.put("draw.rawgps.lines", drawRawGpsLinesAll.isSelected()); 288 295 Main.pref.put("draw.rawgps.lines.localfiles", drawRawGpsLinesLocal.isSelected());
Note:
See TracChangeset
for help on using the changeset viewer.
