Changeset 7886 for trunk/projects/slim-plugin/src/main/java/imagej
- Timestamp:
- 02/03/12 20:22:06 (8 years ago)
- Location:
- trunk/projects/slim-plugin/src/main/java/imagej/slim
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/projects/slim-plugin/src/main/java/imagej/slim/histogram/HistogramPanel.java
r7879 r7886 216 216 */ 217 217 public void setCursors(Integer minCursor, Integer maxCursor) { 218 System.out.println("setCursors(" + minCursor + "," + maxCursor); 218 219 synchronized (_synchObject) { 219 220 if (null == minCursor) { -
trunk/projects/slim-plugin/src/main/java/imagej/slim/histogram/HistogramTool.java
r7879 r7886 155 155 156 156 _histogramPanel.setBins(histogramData.binValues(WIDTH)); 157 //_histogramPanel.setCursors(0.0, 0.0); set cursors if not autoranging 158 157 System.out.println("minMaxLUT is " + minMaxLUT[0] + " " + minMaxLUT[1]); 158 System.out.println("so cursosr are " + cursorPixelFromValue(false, minMaxLUT[0]) + " " + cursorPixelFromValue(false, minMaxLUT[1])); 159 _histogramPanel.setCursors(cursorPixelFromValue(false, minMaxLUT[0]), cursorPixelFromValue(false, minMaxLUT[1])); //TODO ARG true, maxLUT)); in this case adding 1 to max is too much! 160 159 161 _uiPanel.setAutoRange(histogramData.getAutoRange()); 160 162 _uiPanel.setCombineChannels(histogramData.getCombineChannels()); … … 463 465 // note that if you stretch the bounds on one side you need 464 466 // to adjust the position of the other side. 465 _histogramPanel.setCursors(cursorPixelFromValue(false, minLUT), cursorPixelFromValue( true, maxLUT));467 _histogramPanel.setCursors(cursorPixelFromValue(false, minLUT), cursorPixelFromValue(false, maxLUT)); //TODO ARG true, maxLUT)); in this case adding 1 to max is too much! 466 468 } 467 469 }
Note: See TracChangeset
for help on using the changeset viewer.