model_server/gala/src/view.cxx
// MakeCurrent - Tells the Viewer that this is the current view.
Tells the Viewer that this is the current view.
Tells the Viewer that this is the current view .
void View::MakeCurrent() 
{
    if ((ParentView) && (Unsplitable_))
        ParentView->MakeCurrent();
    else
        myViewer->SetCurrentView (id); 
    Layer* layer = GetLayer();
    if (layer) {
            gString str;
        gString title;
        layer->getName(str);
        title = "DIScover - ";
        title += (vchar*) str;
        myViewer->SetTitle (title);
    } else myViewer->SetTitle ((vchar*)"DIScover");
    Viewer::SetExecutingView(myViewer, this);
    if (interp_trace) {
    }
}
void View :: MakeCurrent ( ) { if ( ( ParentView ) && ( Unsplitable_ ) ) ParentView -> MakeCurrent ( ) ; else myViewer -> SetCurrentView ( id ) ; Layer * layer = GetLayer ( ) ; if ( layer ) { gString str ; gString title ; layer -> getName ( str ) ; title = " " ; title += ( vchar * ) str ; myViewer -> SetTitle ( title ) ; } else myViewer -> SetTitle ( ( vchar * ) " " ) ; Viewer :: SetExecutingView ( myViewer , this ) ; if ( interp_trace ) { } }
MakeCurrent - Tells the Viewer that this is the current view.
MakeCurrent - Tells the Viewer that this is the current view .
//printf ("Interp in %d[%d]\n", myViewer, this);