visopsys.org
http://visopsys.org/forums/

Window Scrollbars
http://visopsys.org/forums/viewtopic.php?f=3&t=190
Page 1 of 1

Author:  fosforito [ Thu Sep 19, 2013 7:28 am ]
Post subject:  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:
File comment: Scrollbar source code - visopsys v0.72
scrollbar.tar.gz [2.88 KiB]
Downloaded 496 times

Author:  andymc [ Thu Sep 19, 2013 5:41 pm ]
Post subject:  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.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/