Subject: Re: should the View know about the Frame?
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Mon Jan 29 2001 - 20:40:32 CST
On Mon, 29 Jan 2001, Sam TH wrote:
> A little design question: should the view know what frame it is
> associated with?
> 
> This could be implemented on the fv_View end with just a pointer and a
> couple of accessor functions. However, would the burden on the frame
> to keep this correct be a problem?  
> 
Views do not move between frames so this should not be a problem.
> This would allow the view to get info that it might want.  See the
> TODO at fv_view.cpp around line 3390 for an example.  
> 
> Thoughts?
>            
It's not obvious this would be bad. 
That's my contribution :-)
Martin
This archive was generated by hypermail 2b25 : Mon Jan 29 2001 - 20:40:46 CST