Hi Ramon,<br><br><div><span class="gmail_quote">On 8/8/05, <b class="gmail_sendername">Ramon Leon</b> &lt;<a href="mailto:rleon@insario.com">rleon@insario.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Thank you, love the new thinner look, feels much nicer.&nbsp;&nbsp;As far as the<br>docking window idea goes, I don't know how to do it, else I would submit<br>a change set.&nbsp;&nbsp;I came to squeak for Seaside, morphic has not been on my
<br>list of things to learn, and I only get to play in squeak in my free<br>time, which is limited.</blockquote><div><br>
I am interested in the docking windows idea, but I am plumb out of ideas on how to implement right now.<br>
&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I played<br>with Linux a bit recently and KDE had this as an option, when the window
<br>borders got close enough they'd just snap together, but only within a<br>certain range, couple of pixels, or when they got close enough to the<br>edge of the screen, they'd snap to it.&nbsp;&nbsp;I loved it, you'd only notice it
<br>when you were trying to tile, and it helped tremendously, I thought it<br>was one the of coolest little features I'd seen and wish Windows did<br>that, wish Squeak did that, be nice to see an autoDockWindows<br>preference.
<br></blockquote></div><br>
Sounds nice and seems like something that should be easy to implement,
but the more I think about it I think it is non-trivial (unless I am
thinking about it the wrong way). You'd have to know direction the user
is moving the window and snap to windows in that general direction once
you got near them (say 10 - 20 pixels). Then you'd have to let the user
pass over that window if they wanted to keep trucking by. Also, the
user should be able to unstick the window with ease and go in the
opposite direction.<br>
<br>
So the pseudo-code elludes me right now on how to do this, but I think
you'd have to model direction of movement and do some edge analysis
with each movement.<br>
<br>
John<br><br clear="all"><br>-- <br>It's easy to have a complicated idea. It's very very hard to have a simple idea. -- Carver Mead