Re: toggling dialogs open and closed

2002-03-27 Thread Jean-Marc Lasgouttes
Angus Leeming wrote: > On Tuesday 19 March 2002 3:53 pm, Angus Leeming wrote: > >>Good! Then the interface is to be: >> >>LFUN_INSET_PROPERTIES, inset-properties >>Inset::toggleDialog(BufferView *) {} > > >>I'll code it up now. > > > JMarc, here's the patch. It seems to work perfectly. I beli

Re: toggling dialogs open and closed

2002-03-20 Thread Angus Leeming
On Tuesday 19 March 2002 10:47 pm, Jean-Marc Lasgouttes wrote: > > JMarc, here's the patch. It seems to work perfectly. I believe you first > > mentioned this to me (more than?) a year ago! Perhaps, the ideas just > > took time to mature? > > > > I'll leave this in your tender care. Feel free to d

Re: toggling dialogs open and closed

2002-03-19 Thread Jean-Marc Lasgouttes
> JMarc, here's the patch. It seems to work perfectly. I believe you first > mentioned this to me (more than?) a year ago! Perhaps, the ideas just took time to > mature? > > I'll leave this in your tender care. Feel free to do whatever you want to it. I will not have time to do anything with i

Re: toggling dialogs open and closed

2002-03-19 Thread Angus Leeming
Looks like I forgot withdialog.[Ch]. here they are; they go in the insets dir. A On Tuesday 19 March 2002 3:53 pm, Angus Leeming wrote: > Good! Then the interface is to be: > > LFUN_INSET_PROPERTIES, inset-properties > Inset::toggleDialog(BufferView *) {} > > I'll code it up now. JMarc, here's

Re: toggling dialogs open and closed

2002-03-19 Thread Angus Leeming
On Tuesday 19 March 2002 3:53 pm, Angus Leeming wrote: > Good! Then the interface is to be: > > LFUN_INSET_PROPERTIES, inset-properties > Inset::toggleDialog(BufferView *) {} > I'll code it up now. JMarc, here's the patch. It seems to work perfectly. I believe you first mentioned this to me (mo

Re: toggling dialogs open and closed

2002-03-19 Thread Angus Leeming
On Tuesday 19 March 2002 4:49 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> On Tuesday 19 March 2002 4:09 pm, Jean-Marc Lasgouttes wrote: > >> > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> JMarc, I have fixed things

Re: toggling dialogs open and closed

2002-03-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> On Tuesday 19 March 2002 4:09 pm, Jean-Marc Lasgouttes wrote: >> > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> Angus> JMarc, I have fixed things in my tree here so that this should Angus> be pretty easy. All insets

Re: toggling dialogs open and closed

2002-03-19 Thread Juergen Vigna
On 19-Mar-2002 Angus Leeming wrote: > virtual bool openDialog(BufferView * bv) { edit(bv, 0, 0, 0); } virtual bool openDialog(BufferView * bv) { edit(bv); } We have edit(BufferView *, bool = true) calls to use for this eventuallity! Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-.

Re: toggling dialogs open and closed

2002-03-19 Thread Angus Leeming
On Tuesday 19 March 2002 3:30 pm, Angus Leeming wrote: > You have created an (LFUN_INSET_TOGGLE, toggle-inset) interface that opens > and closes collapsable insets. I suggest that we leave this as-is and > define a new (LFUN_INSET_DIALOG_TOGGLE, toggle-inset-dialog) interface. > > This would need

Re: toggling dialogs open and closed

2002-03-19 Thread Angus Leeming
On Tuesday 19 March 2002 4:09 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> JMarc, I have fixed things in my tree here so that this should > Angus> be pretty easy. All insets with dialogs are now derived from > Angus> withDialog, so: > > Wh

Re: toggling dialogs open and closed

2002-03-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> JMarc, I have fixed things in my tree here so that this should Angus> be pretty easy. All insets with dialogs are now derived from Angus> withDialog, so: What about things like minipage? THey are both collabsable and have a dialog

toggling dialogs open and closed

2002-03-19 Thread Angus Leeming
JMarc, I have fixed things in my tree here so that this should be pretty easy. All insets with dialogs are now derived from withDialog, so: #include "frontends/DialogBase.h" #include class withDialog { public: virtual ~withDialog() { if (connected())