Re: insetcite patch

2000-06-26 Thread Juergen Vigna
On 26-Jun-2000 Angus Leeming wrote: > > Ouch! Note, however, that RESIZE_X and GRAVITY are mutually exclusive. However, > since I prevent the user from resizing in the y direction with the calls in > setSize() : Yes I know and it is quite a task to get right gravity on objects if you have more

Re: insetcite patch

2000-06-26 Thread Angus Leeming
Jürgen> > Done. However, I maintain that the fdesign-generated code should be in Jürgen> > some cite.C file, and that insetcite.[Ch] should not contain any Jürgen> > xforms generated code. Insets should not contain popup code, anyway Jürgen> > (in view of GUI independance). Jürgen> Well you have

Re: insetcite patch

2000-06-26 Thread Angus Leeming
Jmarc> Angus> Could someone apply this please. Angus Jmarc> Done. However, I maintain that the fdesign-generated code should be in Jmarc> some cite.C file, and that insetcite.[Ch] should not contain any Jmarc> xforms generated code. Insets should not contain popup code, anyway Jmarc> (in view of

Re: insetcite patch

2000-06-26 Thread Juergen Vigna
On 26-Jun-2000 Jean-Marc Lasgouttes wrote: > > BTW, Juergen, do you know that your code still generates warnings > like: > > cxx: Warning: ../../../lyx-devel/src/mathed/../insets/lyxinset.h, line 293: > "void UpdatableInset::draw(BufferView *, const LyXFont &, int, float >

Re: insetcite patch

2000-06-26 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> Well you have been a bit faster then me :)! :) BTW, Juergen, do you know that your code still generates warnings like: cxx: Warning: ../../../lyx-devel/src/mathed/../insets/lyxinset.h, line 293: "void UpdatableIn

Re: insetcite patch

2000-06-26 Thread Juergen Vigna
On 26-Jun-2000 Jean-Marc Lasgouttes wrote: > > Done. However, I maintain that the fdesign-generated code should be in > some cite.C file, and that insetcite.[Ch] should not contain any > xforms generated code. Insets should not contain popup code, anyway > (in view of GUI independance). > Well

Re: insetcite patch

2000-06-26 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> A small patch: [...] Angus> Could someone apply this please. Angus Done. However, I maintain that the fdesign-generated code should be in some cite.C file, and that insetcite.[Ch] should not contain any xforms generated code. Inse

RE: insetcite patch

2000-06-26 Thread Juergen Vigna
On 23-Jun-2000 Angus Leeming wrote: > A small patch: > > * forms/cite.fd: modified to allow resizing without messing up the dialog. > > * src/insetcite.C: Uses code from cite.fd almost without tweaking. ;-) > User can now resize dialog in the x-direction. > Resizing the dialog in the y-directi

insetcite patch

2000-06-23 Thread Angus Leeming
A small patch: * forms/cite.fd: modified to allow resizing without messing up the dialog. * src/insetcite.C: Uses code from cite.fd almost without tweaking. ;-) User can now resize dialog in the x-direction. Resizing the dialog in the y-direction is prevented, as the code does this intelligent