Thanks, at least I know where to look. <br><br>I have also been looking at 'wxs_madm.cc' specifically; <br>> static Scheme_Object * os_wxMediaAdminScrollTo (int n , Scheme_Object * p [] ) {<br><br>I'm having trouble making sense of it because I have no experience in c++, and the code lacks any comments.
<br><br>Is there any documentation to this stuff.<br><br>s.<br><br><br><br><div class="gmail_quote">On Jan 18, 2008 2:14 PM, Matthew Flatt <<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">At Thu, 17 Jan 2008 15:44:20 +0000, "Stephen De Gabrielle" wrote:<br>> I'm trying to implement a 'grab and scroll' method that lets the<br>> canvas be moved by the mouse pointer.
<br>><br>> I'm pretty happy with getting the location via get-x get-y and<br>> dc-location-to-editor-location,<br>> but I'm trying to find an alternative to the 'scroll-to' to actually<br>> do the moving?
<br>><br>> (The idea is that while the left mouse button is down, the mouse<br>> position is static with respect to the pasteboard position, but moves<br>> with respect to the canvas.)<br><br></div>I think there's isn't really an alternative to `scroll-to'. The
<br>`scroll-to' method of a pasteboard mostly just sends on the request to<br>its administrator's `scroll-to' method, which is the only interface for<br>talking about the relative position of the editor in the display.
<br><font color="#888888"><br>Matthew<br><br></font></blockquote></div><br><br clear="all"><br>-- <br>Cheers,<br><br>Stephen<br><br>--<br>Stephen De Gabrielle<br><a href="mailto:s.degabrielle@ucl.ac.uk">s.degabrielle@ucl.ac.uk
</a><br>Telephone +44 (0)20 7679 5242 (x45242)<br>Mobile 079 851 890 45<br>Project: Making Sense of Information (MaSI)<br><a href="http://www.uclic.ucl.ac.uk/annb/MaSI.html">http://www.uclic.ucl.ac.uk/annb/MaSI.html
</a><br><br>UCLIC: University College London Interaction Centre<br><a href="http://www.uclic.ucl.ac.uk/">http://www.uclic.ucl.ac.uk/</a><br><br>Remax House - 31/32 Alfred Place<br>London - WC1E 7DP