On Wednesday 19 January 2005 20:11, Daniel Clarke wrote: > Hi, > > In order to try and make switching between !Zap and KDevelop more > comfortable for myself I today wrote a scroll wheel support module for RISC > OS and modified arcem to send along button 4 and 5 events. (This is just in > X). > > If anybody would like to try it out or actually put the code into arcem > (the patch is only about 6 lines long), there is a tarball at: > > http://giles.vickycoleman.co.uk/~daniel/scrollwheel.tar.bz2 > > which contains the small patch for arcem, and then a disc image with the > module on, which only needs to be run.
Thanks for this. I have now committed the changes to the X input layer to CVS. I am not sure how best to add the Module source to the CVS repository, because BASIC files are binary, and don't lend themselves to CVS diff showing changes easily - CVS works better with text files. I am open to suggestions on how best to handle this. Incidentally, the method I am using for generating modules is to assemble them under Linux/x86 using the GNU binutils setup for ARM code. This way the module source is plain text, and can be assembled anywhere the GNU tools are available. Does anyone think this is the best way to add source code for support modules to ArcEm? > !Zap seems to scroll better than !Edit, and also windows that scroll using > open_window_request rather than scroll_request work *much* better (e.g. the > Filer, Task Manager etc...). (and also some info boxes scroll as an > inadvertent 'feature'). I am a bit rusty on RISC OS Wimp programming, but I have a suggestion for how to prevent the inadvertent scrolling of Info boxes - read the Window Flags of the window to scroll, and only scroll if the window has a vertical scroll bar visible. On another issue: could those people who are more familiar with Windows or MacOS programming contribute similar scroll wheel support to the code for those platforms? Matthew ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ arcem-devel mailing list arcem-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/arcem-devel