Window Scrollbars
Window Scrollbars
Hello, I'm trying to make the window scollbars better because I personally don't like that the cursor must stay inside the slider to drag the scrollbar. Now, I can drag the bar while the cursor is outside of the window but not if it is inside the window. What changes are needed?
- Attachments
-
- scrollbar.tar.gz
- Scrollbar source code - visopsys v0.72
- (2.88 KiB) Downloaded 1152 times
Re: Window Scrollbars
I can give this a look, but just off the top of my head, I'd say that you'd need to make changes in kernelWindow.c and/or kernelWindowComponent.c. I guess the approach would be to treat this as a 'dragging' event, and keep passing mouse events to the scrollbar component as long as the mouse button stays pressed.