Window Scrollbars

General discussion about Visopsys.
fosforito

Window Scrollbars

Post by fosforito »

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?
You do not have the required permissions to view the files attached to this post.
User avatar
andymc
Posts: 590
Joined: Tue Nov 16, 2010 7:20 pm

Re: Window Scrollbars

Post by andymc »

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.