[haiku-commits] Re: r42377 - haiku/trunk/src/servers/app

On Tue, 05 Jul 2011 09:51:14 +1200, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:

clemens.zeidler@xxxxxxxxxxxxxx wrote:
Added:
   haiku/trunk/src/servers/app/MagneticBorder.cpp
   haiku/trunk/src/servers/app/MagneticBorder.h

Why not put it into the base window behaviour class instead?


there is no real reason, I tried a different approach before where I used it directly in S&T and I needed it in a separate class. Just haven't merged it back. But I think it's not that bad to have another class, just a little bit more code separation.

Furthermore, I searched a while till I found the snapping code, now it should be easier to find.

Regards,
        Clemens

Other related posts: