Changeset 22581 in osm for applications
- Timestamp:
- 2010-08-06T08:07:03+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/wmsplugin/src/wmsplugin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/GeorefImage.java
r22286 r22581 14 14 import javax.imageio.ImageIO; 15 15 16 import org.openstreetmap.josm.Main;17 16 import org.openstreetmap.josm.data.coor.EastNorth; 18 17 import org.openstreetmap.josm.gui.NavigatableComponent; … … 79 78 } 80 79 81 boolean alphaChannel = Main.pref.getBoolean("wmsplugin.alpha_channel") && image.getTransparency() != Transparency.OPAQUE;80 boolean alphaChannel = WMSLayer.PROP_ALPHA_CHANNEL.get() && image.getTransparency() != Transparency.OPAQUE; 82 81 83 82 try { -
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSLayer.java
r22550 r22581 50 50 new ImageIcon(Toolkit.getDefaultToolkit().createImage(WMSPlugin.class.getResource("/images/wms_small.png"))); 51 51 52 p rivatestatic final BooleanProperty PROP_ALPHA_CHANNEL = new BooleanProperty("wmsplugin.alpha_channel", true);52 public static final BooleanProperty PROP_ALPHA_CHANNEL = new BooleanProperty("wmsplugin.alpha_channel", true); 53 53 54 54 public int messageNum = 5; //limit for messages per layer
Note:
See TracChangeset
for help on using the changeset viewer.