should the View know about the Frame?


Subject: should the View know about the Frame?
From: Sam TH (sam@uchicago.edu)
Date: Mon Jan 29 2001 - 20:15:25 CST


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?

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?
           
        sam th
        sam@uchicago.edu
        http://www.abisource.com/~sam/
        GnuPG Key:
        http://www.abisource.com/~sam/key




This archive was generated by hypermail 2b25 : Mon Jan 29 2001 - 20:15:50 CST