On Mon, Sep 01, 2003 at 03:05:57PM +0100, Angus Leeming spake thusly:
 
> Martin Vermeer wrote:
> 
> > On Mon, Sep 01, 2003 at 03:59:29PM +0300, Martin Vermeer spake
> > thusly:
> > 
> > ...
> >  
> >> Thanks Angus. This confirms what I was thinking and what is now
> >> under construction. This stuff is about to get a little simpler
> >> soon :-)
> >> 
> >> - Martin
> > 
> > First try...
> 
> * insetbibtex.C:
> +       Box b(
> +               center_indent_,
> +               center_indent_ + dim.wid,
> +               -dim.asc,
> +               dim.des
> +       );
> You wan't win any friends for this sort of fancy indentation.

See text3.C:121 :-)
 
> * Why #include "box.h" in insetbibtex.h, insetfloatlist.h? Box is not 
> mentioned in the header file.

Oops, thanks.
 
> * why "Box::contained" and not "Box::contains" ? Seems odd to use the 
> past tense here ;-)

"No comment."
 
> * insetcommand.C, insetinclude.C: 
> +         set_label_(false), button_box_(0,0,0,0)
> Why not have a default Box constructor (Box::Box()) that does this.

Hmmm, should try that.
 
> What is the rationale behind this use of Box? Do you plan to use it 
> consistently? Ie, pass a Box argument to things like the painter 
> functions.

Eh, in this case just convenient shorthand for a sensitive area on the
screen and testing for it. I learned it from John when studying
insetcollapsible/ert for my insetnote work.
 
> Probing the thought process,
> -- 
> Angus

Thought process? What thought process?

- Martin

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to