Page 1 of 1

Window Scrollbars

Posted: Thu Sep 19, 2013 7:28 am
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?

Re: Window Scrollbars

Posted: Thu Sep 19, 2013 5:41 pm
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.