visopsys.org

Visopsys Forums
It is currently Mon Apr 23, 2018 12:37 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Window Scrollbars
PostPosted: Thu Sep 19, 2013 7:28 am 
Offline
User avatar

Joined: Mon Sep 09, 2013 12:16 am
Posts: 58
Location: Paraguay
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 523 times

_________________
My Homepage: http://www.fosforito.net/ :)
Top
 Profile  
 
 Post subject: Re: Window Scrollbars
PostPosted: Thu Sep 19, 2013 5:41 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 463
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group