(boolean larger)
| 1725 | } |
| 1726 | |
| 1727 | void changeFontSize(boolean larger) { |
| 1728 | int in = fontSizeIndex; |
| 1729 | if (larger) { |
| 1730 | fontSizeIndex++; |
| 1731 | if (fontSizeIndex==sizes.length) |
| 1732 | fontSizeIndex = sizes.length-1; |
| 1733 | } else { |
| 1734 | fontSizeIndex--; |
| 1735 | if (fontSizeIndex<0) |
| 1736 | fontSizeIndex = 0; |
| 1737 | } |
| 1738 | IJ.showStatus(sizes[fontSizeIndex]+" point"); |
| 1739 | setFont(); |
| 1740 | } |
| 1741 | |
| 1742 | void saveSettings() { |
| 1743 | Prefs.set(FONT_SIZE, fontSizeIndex); |
no test coverage detected