Ignore:
Timestamp:
2016-06-14T17:23:20+02:00 (4 years ago)
Author:
stoecker
Message:

see #9995 - patch by strump - improve HIDPI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageResource.java

    r10358 r10369  
    108108     * Set both icons of an Action
    109109     * @param a The action for the icons
    110      * @since 7693
    111      */
    112     public void getImageIcon(AbstractAction a) {
     110     * @since 10368
     111     */
     112    public void attachImageIcon(AbstractAction a) {
    113113        Dimension iconDimension = ImageProvider.ImageSizes.SMALLICON.getImageDimension();
    114114        ImageIcon icon = getImageIconBounded(iconDimension);
     
    125125     * @param a The action for the icons
    126126     * @param addresource Adds an resource named "ImageResource" if <code>true</code>
    127      * @since 10356
    128      */
    129     public void getImageIcon(AbstractAction a, boolean addresource) {
    130         getImageIcon(a);
     127     * @since 10368
     128     */
     129    public void attachImageIcon(AbstractAction a, boolean addresource) {
     130        attachImageIcon(a);
    131131        if (addresource) {
    132132            a.putValue("ImageResource", this);
Note: See TracChangeset for help on using the changeset viewer.