Thanks for your answer.
Please let me clarify our needs.
The question is, is ImageEditorUI/ImageEditor suitable or should we implement our own image viewer?
We want to show a large 16-bit grayscale image (where we have our custom converter to 8-bit). Tools for annotating the image (e.g. draw a line on it, without altering the image buffer) will be needed, hence your editor toolbox is a welcome feature - if the framework allows for drawing tools. Horizontal scrolling must be supported (i.e. handling of WM_MOUSEHWHEEL
). Zooming is a very common operation and we must therefore be able to toggle the mousewheel mode between scroll and zoom, avoiding the need for the Ctrl
key. Also, "pinch to zoom" and "swipe to scroll" on touch-enabled devices is desirable.
I forgot. Panning using the mouse (left mouse button down/up) is also a required feature.
One more thing! Mousewheel-zooming must center towards the mouse pointer! This is standard in most image viewers!
In any case, I think your image editor lacks horizontal scrolling as described above. The same goes for the Ctrl
key. There should be a property like "EnableZoomOnMouseWheel" (does not affect horizontal scrolling).