[bt-devel] AutoTile and Autocascade

Thomas J. Philpot bt-devel@crosswire.org
Fri, 25 Feb 2000 17:25:41 -0600


--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

On Fri, 25 Feb 2000, you wrote:
> Thanks for the patch!
> 
> Could you create the patch again using "diff -u" so I could commit it ?
> 
> 
> Thanks!
> --Joachim
> 
> > 
> > On Thu, 24 Feb 2000, you wrote:
> > > I noticed a few things that I consider unintuative about BT's tile and cascade
> > > functionality.
> > > 
> > > 1)  When I click Auto Tile, the windows don't automatically tile
> > > 2) Same for Auto Cascade
> > > 3) If I have Auto-Whatever checked, resize events don't re tile or cascade the
> > > windows
> > > 
> > > I think all of these things should be implemented.  In fact, I played with it
> > > and got them working in about 5 minutes.  I've got the code to cmdiarea.cpp
> > > done, if you guys would like me to submit it.  I just need some CVS access.  Or
> > > you can just manually add the requiste 5-10 lines of code.
> > 
> > Well, I was thinking, I really don't need CVS access.  I'll just send you the
> > patch.  Check it out, see what you think.  I probably won't be contributing
> > much code in the next few months, so I don't need write access yet.  God
> > willing, one day I'll have time for it ;)
> > 
> > Here's the patch file for cmdiarea.cpp with the autotile and autocascade stuff
> > updated and the resizeEvent code set to update the windows if necessary.
> > 
> > 
> > 
> > > 
> > > Tom
> 
> ----------------------------------------
> Content-Type: text/plain; name="cmdipatch"
> Content-Transfer-Encoding: base64
> Content-Description: Patch for auto window layout
> ----------------------------------------
> 
> -- 
> BibleTime - the bible study program for KDE
> http://www.bibletime.de/
> info@bibletime.de
--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD
Content-Type: text/plain;
  name="cmdipatch"
Content-Transfer-Encoding: base64
Content-Description: Unified Diff of cmdiarea.cpp w/ Auto Window Layout
Content-Disposition: attachment; filename="cmdipatch"

LS0tIGNtZGlhcmVhLmNwcAlGcmkgRmViIDI1IDEzOjU1OjE2IDIwMDAKKysrIGNtZGlhcmVhLm5l
dwlGcmkgRmViID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