Changeset 7694 in josm for trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
- Timestamp:
- 2014-11-02T11:38:51+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r7693 r7694 119 119 /* MAP icon */ 120 120 MAP, 121 /* MAP icon maximum size */121 /* MAP icon maximum size */ 122 122 MAPMAX, 123 /* MENU icon size */ 124 MENU, 123 125 } 124 126 … … 254 256 case MAP: sizeval = Main.pref.getInteger("iconsize.mapmax", 16); break; 255 257 case LARGEICON: sizeval = Main.pref.getInteger("iconsize.largeicon", 24); break; 258 case MENU: /* MENU is SMALLICON - only provided in case of future changes */ 256 259 case SMALLICON: sizeval = Main.pref.getInteger("iconsize.smallicon", 16); break; 257 260 default: sizeval = Main.pref.getInteger("iconsize.default", 24); break; … … 949 952 * @return an icon that represent the overlay of the two given icons. The second icon is layed 950 953 * on the first relative to the given position. 951 */ 954 * FIXME: This function does not fit into the ImageProvider concept as public function! 955 * Overlay should be handled like all the other functions only settings arguments and 956 * overlay must be transparent in the background. 957 * Also scaling is not cared about with current implementation. 958 */ 959 @Deprecated 952 960 public static ImageIcon overlay(Icon ground, Icon overlay, OverlayPosition pos) { 953 961 int w = ground.getIconWidth();
Note:
See TracChangeset
for help on using the changeset viewer.