- Timestamp:
- 2008-08-15T13:06:31+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java
r721 r781 28 28 private JCheckBox sourceBounds = new JCheckBox(tr("Draw boundaries of downloaded data")); 29 29 private JCheckBox inactive = new JCheckBox(tr("Draw inactive layers in other color")); 30 private JCheckBox useAntialiasing = new JCheckBox(tr("Smooth map graphics (antialiasing)")); 30 31 31 32 public void addGui(PreferenceDialog gui) { … … 111 112 gui.display.add(segmentOrderNumber, GBC.eop().insets(20,0,0,0)); 112 113 114 // antialiasing 115 useAntialiasing.setToolTipText(tr("Apply antialiasing to the map view resulting in a smoother appearance.")); 116 useAntialiasing.setSelected(Main.pref.getBoolean("mappaint.use-antialiasing")); 117 gui.display.add(useAntialiasing, GBC.eop().insets(20,0,0,0)); 118 113 119 // downloaded area 114 120 sourceBounds.setToolTipText(tr("Draw the boundaries of data loaded from the server.")); … … 135 141 Main.pref.put("draw.data.downloaded_area", sourceBounds.isSelected()); 136 142 Main.pref.put("draw.data.inactive_color", inactive.isSelected()); 143 Main.pref.put("mappaint.use-antialiasing", useAntialiasing.isSelected()); 137 144 } 138 145 }
Note:
See TracChangeset
for help on using the changeset viewer.