ImageGlass icon indicating copy to clipboard operation
ImageGlass copied to clipboard

how to show horizontal and vertical scrollbars ?

Open Charltsing opened this issue 1 year ago • 6 comments

Can it show horizontal and vertical scrollbars when process MouseWheelActions (PanVertically and PanHorizontally)?

and add Photoshop scroll style in setting : Mouse Wheel --> move up and down Ctrl + Mouse Wheel-- > move left and right Alt + Mouse Wheel-- > Zoom

Charltsing avatar Dec 31 '23 17:12 Charltsing

Scrollbar is one of the features removed in v9: https://imageglass.org/news/introducing-the-new-imageglass-version-9-88

d2phap avatar Dec 31 '23 17:12 d2phap

Scrollbar is one of the features removed in v9: https://imageglass.org/news/introducing-the-new-imageglass-version-9-88

sorry, i can not open your site .

The scrollbar is a very useful feature, especially when looking at a very long long long height image, Do you plan to restore this feature in the future?

Charltsing avatar Dec 31 '23 18:12 Charltsing

Re making the mouse controls mimic Photoshop: many people do not use PS and many other programs use the mouse exactly the way IG does now. It is very easy for Windows users.

if ImageGlass can show scrollbar, i can making the mouse controls mimic Photoshop by myself

Charltsing avatar Jan 01 '24 22:01 Charltsing

sorry, i can not open your site .

I checked the link is not broken, not sure why you can't open.

The scrollbar is a very useful feature, especially when looking at a very long long long height image, Do you plan to restore this feature in the future?

So far, I am not sure how to implement it yet, the Viewer component is based on Direct2D, I don't know whether I should draw the scrollbar manually or use WinForm's Scrollbar control. Both are not easy. I'm also considering to implement minimap #537 to replace the scrollbar.

d2phap avatar Jan 02 '24 04:01 d2phap

So far, I am not sure how to implement it yet, the Viewer component is based on Direct2D, I don't know whether I should draw the scrollbar manually or use WinForm's Scrollbar control. Both are not easy. I'm also considering to implement minimap #537 to replace the scrollbar.

Many websites cannot be opened in my country, this is not your problem.

Winform scrollbar cannot modify the theme color, so you need to draw a control yourself. like this: https://github.com/RobinPerris/DarkUI/blob/master/DarkUI/Controls/DarkScrollBar.cs https://github.com/Lokyyn/Lucid/blob/main/source/Lucid/Controls/LucidScrollBar.cs it support net8

Minimap cannot replace scrollbars, although it is also a good feature, but it will make the imageglass layout ugly

Charltsing avatar Jan 02 '24 04:01 Charltsing