()
| 3035 | } |
| 3036 | |
| 3037 | void saveSettings() { |
| 3038 | interp.getParens(); |
| 3039 | usePointerCursor = Prefs.usePointerCursor; |
| 3040 | hideProcessStackDialog = IJ.hideProcessStackDialog; |
| 3041 | divideByZeroValue = FloatBlitter.divideByZeroValue; |
| 3042 | jpegQuality = FileSaver.getJpegQuality(); |
| 3043 | saveLineWidth = Line.getWidth(); |
| 3044 | doScaling = ImageConverter.getDoScaling(); |
| 3045 | weightedColor = Prefs.weightedColor; |
| 3046 | weights = ColorProcessor.getWeightingFactors(); |
| 3047 | interpolateScaledImages = Prefs.interpolateScaledImages; |
| 3048 | open100Percent = Prefs.open100Percent; |
| 3049 | blackCanvas = Prefs.blackCanvas; |
| 3050 | useJFileChooser = Prefs.useJFileChooser; |
| 3051 | debugMode = IJ.debugMode; |
| 3052 | foregroundColor =Toolbar.getForegroundColor(); |
| 3053 | backgroundColor =Toolbar.getBackgroundColor(); |
| 3054 | roiColor = Roi.getColor(); |
| 3055 | pointAutoMeasure = Prefs.pointAutoMeasure; |
| 3056 | requireControlKey = Prefs.requireControlKey; |
| 3057 | useInvertingLut = Prefs.useInvertingLut; |
| 3058 | saveSettingsCalled = true; |
| 3059 | measurements = Analyzer.getMeasurements(); |
| 3060 | decimalPlaces = Analyzer.getPrecision(); |
| 3061 | blackBackground = Prefs.blackBackground; |
| 3062 | autoContrast = Prefs.autoContrast; |
| 3063 | pasteMode = Roi.getCurrentPasteMode(); |
| 3064 | plotWidth = PlotWindow.plotWidth; |
| 3065 | plotHeight = PlotWindow.plotHeight; |
| 3066 | plotFontSize = PlotWindow.getDefaultFontSize(); |
| 3067 | plotInterpolate = PlotWindow.interpolate; |
| 3068 | plotNoGridLines = PlotWindow.noGridLines; |
| 3069 | plotNoTicks = PlotWindow.noTicks; |
| 3070 | profileVerticalProfile = Prefs.verticalProfile; |
| 3071 | profileSubPixelResolution = Prefs.subPixelResolution; |
| 3072 | } |
| 3073 | |
| 3074 | void restoreSettings() { |
| 3075 | interp.getParens(); |
no test coverage detected