Changeset 8056 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2015-02-13T15:25:19+01:00 (10 years ago)
Author:
bastiK
Message:

fixed #11096 - png -> svg

Location:
trunk/src/org/openstreetmap/josm
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/AddNoteAction.java

    r7937 r8056  
    3232     */
    3333    public AddNoteAction(MapFrame mapFrame, NoteData data) {
    34         super(tr("Add a new Note"), "addnote.png",
     34        super(tr("Add a new Note"), "addnote",
    3535            tr("Add note mode"),
    3636            mapFrame, ImageProvider.getCursor("crosshair", "create_note"));
  • trunk/src/org/openstreetmap/josm/gui/bbox/SizeButton.java

    r6539 r8056  
    2929        super();
    3030        this.slippyMapBBoxChooser = slippyMapBBoxChooser;
    31         enlargeImage = ImageProvider.get("view-fullscreen.png");
    32         shrinkImage = ImageProvider.get("view-fullscreen-revert.png");
     31        enlargeImage = ImageProvider.get("view-fullscreen");
     32        shrinkImage = ImageProvider.get("view-fullscreen-revert");
    3333        setPreferredSize(new Dimension(enlargeImage.getIconWidth(), enlargeImage.getIconHeight()));
    3434        addMouseListener(mouseListener);
  • trunk/src/org/openstreetmap/josm/gui/bbox/SourceButton.java

    r6603 r8056  
    4848        this.slippyMapBBoxChooser = slippyMapBBoxChooser;
    4949        setSources(sources);
    50         enlargeImage = ImageProvider.get("layer-switcher-maximize.png");
    51         shrinkImage = ImageProvider.get("layer-switcher-minimize.png");
     50        enlargeImage = ImageProvider.get("layer-switcher-maximize");
     51        shrinkImage = ImageProvider.get("layer-switcher-minimize");
    5252
    5353        hiddenDimension= new Dimension(enlargeImage.getIconWidth(), enlargeImage.getIconHeight());
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMerger.java

    r7668 r8056  
    623623
    624624        public CopyAllLeft() {
    625             ImageIcon icon = ImageProvider.get("dialogs/conflict", "useallleft.png");
     625            ImageIcon icon = ImageProvider.get("dialogs/conflict", "useallleft");
    626626            putValue(Action.SMALL_ICON, icon);
    627627            putValue(Action.SHORT_DESCRIPTION, tr("Copy all my elements to the target"));
     
    652652
    653653        public CopyAllRight() {
    654             ImageIcon icon = ImageProvider.get("dialogs/conflict", "useallright.png");
     654            ImageIcon icon = ImageProvider.get("dialogs/conflict", "useallright");
    655655            putValue(Action.SMALL_ICON, icon);
    656656            putValue(Action.SHORT_DESCRIPTION, tr("Copy all their elements to the target"));
     
    681681
    682682        public MoveUpMergedAction() {
    683             ImageIcon icon = ImageProvider.get("dialogs/conflict", "moveup.png");
     683            ImageIcon icon = ImageProvider.get("dialogs/conflict", "moveup");
    684684            putValue(Action.SMALL_ICON, icon);
    685685            if (icon == null) {
     
    715715
    716716        public MoveDownMergedAction() {
    717             ImageIcon icon = ImageProvider.get("dialogs/conflict", "movedown.png");
     717            ImageIcon icon = ImageProvider.get("dialogs/conflict", "movedown");
    718718            putValue(Action.SMALL_ICON, icon);
    719719            if (icon == null) {
     
    749749
    750750        public RemoveMergedAction() {
    751             ImageIcon icon = ImageProvider.get("dialogs/conflict", "remove.png");
     751            ImageIcon icon = ImageProvider.get("dialogs/conflict", "remove");
    752752            putValue(Action.SMALL_ICON, icon);
    753753            if (icon == null) {
  • trunk/src/org/openstreetmap/josm/gui/dialogs/MapPaintDialog.java

    r7896 r8056  
    674674            JMenu setMenu = new JMenu(tr("Style settings"));
    675675            setMenu.setIcon(ImageProvider.overlay(ImageProvider.get("preference"),
    676                 ImageProvider.get("dialogs/mappaint/pencil.png"),
     676                ImageProvider.get("dialogs/mappaint", "pencil"),
    677677                ImageProvider.OverlayPosition.SOUTHEAST));
    678678            setMenu.setToolTipText(tr("Customize the style"));
  • trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/AudioMarker.java

    r7518 r8056  
    2828
    2929    public AudioMarker(LatLon ll, TemplateEngineDataProvider dataProvider, URL audioUrl, MarkerLayer parentLayer, double time, double offset) {
    30         super(ll, dataProvider, "speech.png", parentLayer, time, offset);
     30        super(ll, dataProvider, "speech", parentLayer, time, offset);
    3131        this.audioUrl = audioUrl;
    3232        this.syncOffset = 0.0;
  • trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/ImageMarker.java

    r7518 r8056  
    3939
    4040    public ImageMarker(LatLon ll, URL imageUrl, MarkerLayer parentLayer, double time, double offset) {
    41         super(ll, "photo.png", parentLayer, time, offset);
     41        super(ll, "photo", parentLayer, time, offset);
    4242        this.imageUrl = imageUrl;
    4343    }
  • trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/WebMarker.java

    r7518 r8056  
    3131
    3232    public WebMarker(LatLon ll, URL webUrl, MarkerLayer parentLayer, double time, double offset) {
    33         super(ll, "web.png", parentLayer, time, offset);
     33        super(ll, "web", parentLayer, time, offset);
    3434        CheckParameterUtil.ensureParameterNotNull(webUrl, "webUrl");
    3535        this.webUrl = webUrl;
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/CustomProjectionChoice.java

    r7956 r8056  
    102102                    } catch (ProjectionConfigurationException ex) {
    103103                        error = ex.getMessage();
    104                         valStatus.setIcon(ImageProvider.get("data", "error.png"));
     104                        valStatus.setIcon(ImageProvider.get("data", "error"));
    105105                        valStatus.setVisible(true);
    106106                        errorsPanel.setText(error);
     
    109109                    }
    110110                    errorsPanel.setVisible(false);
    111                     valStatus.setIcon(ImageProvider.get("misc", "green_check.png"));
     111                    valStatus.setIcon(ImageProvider.get("misc", "green_check"));
    112112                    valStatus.setVisible(true);
    113113                    return true;
Note: See TracChangeset for help on using the changeset viewer.