Re: Word count nitpicks


Subject: Re: Word count nitpicks
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Tue Mar 28 2000 - 02:51:15 CST


On Sun, 26 Mar 2000, Justin Bradford wrote:
> Anyway, it just isn't written yet, and all dialogs are currently modal,
> regardless of whether they should be. The insert symbol dialog, for
> instance, should definitely be non-modal.

There was a big discussion about this a while ago. Rather than try to deal
with the task of implementing a non-modal dialog and insert symbol I
thought it was better to have an Insert Symbol dialog first then make it
non-modal later.

Actually I think it would be rather easy to implement a non-modal
framework. All we need to do is keep track of focus events in main
windows. Every time a focus event occurs a data structure containing
pointers to open pv_frame views is updated with the most recent focussed
pf_frame going to thoing to the top of the data structure. Then calls to
connect_frame() returns this pointer so that data can be inserted into the
most recently focussed frame. Data structures containing information
shared accross all pf_frames are already set up, adding this extra one
would be quite easy. Then we would need a little bit of platform specific
code to do the focus event handling and we'd be done.

Cheers

Martin



This archive was generated by hypermail 2b25 : Tue Mar 28 2000 - 02:52:46 CST