model_server/gala/src/view.cxx
//  This function determines if the view is the only view displayed in the viewer
// besides the message box.  Returns TRUE if it is the only view, FALSE otherwise.
This function determines if the view is the only view displayed in the viewer
besides the message box.  Returns TRUE if it is the only view, FALSE otherwise.
This function determines if the view is the only view displayed in the viewer besides the message box . Returns TRUE if it is the only view FALSE otherwise .
int View::ViewerOnlyView () {
    if (!ParentView) return vTRUE;
    View *view = this;
    while (view && view != myViewer->layerViews) {
        if (view->RightView || view->LeftView) return vFALSE;
        view = view->ParentView;
    }
    return vTRUE;
}
int View :: ViewerOnlyView ( ) { if ( ! ParentView ) return vTRUE ; View * view = this ; while ( view && view != myViewer -> layerViews ) { if ( view -> RightView || view -> LeftView ) return vFALSE ; view = view -> ParentView ; } return vTRUE ; }
This function determines if the view is the only view displayed in the viewer
besides the message box.
This function determines if the view is the only view displayed in the viewer besides the message box .