Changeset 20240 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java
- Timestamp:
- 2010-03-01T18:48:22+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java
r20214 r20240 99 99 * - raster image rotation issues fixed, now using shift+ctrl key instead of ctrl 100 100 * - raster image adjustment using default system menu modifier (ctrl for windows) for Mac support 101 * - image resolution configurable (high, medium, low) like the online interface 101 102 * - from Erik Amzallag: 102 103 * - possibility to modify the auto-sourcing text just before upload … … 129 130 130 131 public static boolean drawBoundaries = false; 132 133 public static int imageWidth, imageHeight; 131 134 132 135 static private boolean menuEnabled = false; … … 177 180 }); 178 181 179 JMenuItem menuResetCookie = new JMenuItem(new MenuActionResetCookie());182 //JMenuItem menuResetCookie = new JMenuItem(new MenuActionResetCookie()); 180 183 //JMenuItem menuLambertZone = new JMenuItem(new MenuActionLambertZone()); 181 184 JMenuItem menuLoadFromCache = new JMenuItem(new MenuActionLoadFromCache()); … … 210 213 transparency = 1.0f; 211 214 } 215 String currentResolution = Main.pref.get("cadastrewms.resolution", "high"); 216 if (currentResolution.equals("high")) { 217 imageWidth = 1000; imageHeight = 800; 218 } else if (currentResolution.equals("medium")){ 219 imageWidth = 800; imageHeight = 600; 220 } else { 221 imageWidth = 600; imageHeight = 400; 222 } 223 212 224 // overwrite F11 shortcut used from the beginning by this plugin and recently used 213 225 // for full-screen switch in JOSM core
Note:
See TracChangeset
for help on using the changeset viewer.