Juergen Vigna <[EMAIL PROTECTED]> writes:
| TextInset * inset;
|
| use
|
| TextInset inset(buffer);
Yes. This would be nice.
I'll have a quick look at this.
| > I can add a copy constructor to cellstruct that does the same as the
| > assignment operator.
| >
|
| Ok go for it, I didn't know
On 05-May-2000 Lars Gullik Bjønnes wrote:
> Juergen Vigna <[EMAIL PROTECTED]> writes:
>
>| Ok if you tell me how to do this with a object and not with a
>| constructor
> ^
> pointer?
>
Yes pointer to be clear:
Instead of:
TextInset * inset;
use
TextInset inset(buffer);
(you know we
Juergen Vigna <[EMAIL PROTECTED]> writes:
| Ok if you tell me how to do this with a object and not with a
| constructor
^
pointer?
| I'm happy to to it as you want (I tried but couldn't figure it out, maybe
| you with your C++ books and better knowledge then myself can do it:)
So that is
On 05-May-2000 Lars Gullik Bjønnes wrote:
>| But ok I see what you mean the inset is worked with in
>| insettabular.C not in tabular.C, tabular.C is just the container.
>
> But then... why is insetText a pointer? why not the object proper?
> (and why copy but not assign?)
>
Ok if you tell me
Juergen Vigna <[EMAIL PROTECTED]> writes:
| Because it would be wrong and it is not needed!
See my other mail about why this is questionable.
| Well if you think all the work I invested in this till now is nothing it's
| your opinion!
Hmm...dare I say jumping to conclusions?
| But ok I see wh
On 05-May-2000 Lars Gullik Bjønnes wrote:
>|
>| Because not all stuff should be assigned (for example the inset)!
>
> Why not?
>
Because it would be wrong and it is not needed!
>|
>| As you'll see there is something done with the inset otherwise it wouldn't
> ^^
Juergen Vigna <[EMAIL PROTECTED]> writes:
| On 05-May-2000 Lars Gullik Bjønnes wrote:
| > [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| >
| >| Why isn't all the member in cellstruct copied in operator= ?
| >
|
| Because not all stuff should be assigned (for example the inset)!
Why not?
|
On 05-May-2000 Lars Gullik Bjønnes wrote:
> [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
>
>| Why isn't all the member in cellstruct copied in operator= ?
>
Because not all stuff should be assigned (for example the inset)!
> And why isn't anything done with the inset?
>
As you'll see the
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| Why isn't all the member in cellstruct copied in operator= ?
And why isn't anything done with the inset?
Lgb