Method
setImage
(final FSkinProp s0, final BufferedImage bim)
Source from the content-addressed store, hash-verified
| 1663 | } |
| 1664 | |
| 1665 | private static void setImage(final FSkinProp s0, final BufferedImage bim) { |
| 1666 | int[] tempCoords = s0.getCoords(); |
| 1667 | x0 = tempCoords[0]; |
| 1668 | y0 = tempCoords[1]; |
| 1669 | w0 = tempCoords[2]; |
| 1670 | h0 = tempCoords[3]; |
| 1671 | |
| 1672 | if (bim != null) |
| 1673 | SkinImage.setImage(s0, bim.getSubimage(x0, y0, w0, h0)); |
| 1674 | } |
| 1675 | |
| 1676 | /** |
| 1677 | * Sets the look and feel of the GUI based on the selected Forge theme. |
Tested by
no test coverage detected