From: Andrew C. <ak...@cs...> - 2001-10-30 07:23:06
|
d p chang <we...@cs...> writes: > > For example, it will take a bit more work to make scroll-bars > > behave like standard (Mac) ones. Currently, scrolling will not > > > `auto-repeat' if one clicks and holds down the mouse in the up or > > down arrow area. > > This is interesting. I forget how x controls do this, do they do the > autorepeat themselves since they have a similar problem. I must admit I need to go back to check the reference books and the code to answer accurately. However, many things cause events to be generated in X, which can simply be picked up by the main event loop and handled. The Carbon active scroll bars use callback functions to perform the scrolling. It's not so easy to adapt this model (Carbon) to one with an event loop that expect to receive active scrolling events (Emacs). Some events are even absent. Right now the Mac code detects mouse movement by polling. There has to be a better way to this. These are the kind of improvements to the event handling code that I am thinking about. Andrew. |