model_server/gala/src/viewer.cxx
// Loads the Quick Help Line at the bottom of the screen, 
// and the tool bar at the top.
Loads the Quick Help Line at the bottom of the screen,
and the tool bar at the top.
Loads the Quick Help Line at the bottom of the screen and the tool bar at the top .
void Viewer::LoadControlViews (const vrect* dialogRect)
{
    gInit (Viewer::LoadControlViews);
    vresource res;
    Pane* newControl;
    if (getResource("CommandLine", &res) ) {
        newControl = new Pane(vloadableDONT_LOAD);
        newControl->Load(res);
    } else
        newControl = new Pane;
    Rect cmdLineViewRect;
    cmdLineViewRect.y = 0;
    cmdLineViewRect.x = 0;
    cmdLineViewRect.h = newControl->GetHeight();
    cmdLineViewRect.w = dialogRect->GetWidth();
    commandLineView_ = new CommandLineView(this, cmdLineViewRect,newControl);
}
void Viewer :: LoadControlViews ( const vrect * dialogRect ) { gInit ( Viewer :: LoadControlViews ) ; vresource res ; Pane * newControl ; if ( getResource ( " " , & res ) ) { newControl = new Pane ( vloadableDONT_LOAD ) ; newControl -> Load ( res ) ; } else newControl = new Pane ; Rect cmdLineViewRect ; cmdLineViewRect . y = 0 ; cmdLineViewRect . x = 0 ; cmdLineViewRect . h = newControl -> GetHeight ( ) ; cmdLineViewRect . w = dialogRect -> GetWidth ( ) ; commandLineView_ = new CommandLineView ( this , cmdLineViewRect , newControl ) ; }
Loads the Quick Help Line at the bottom of the screen,
and the tool bar at the top.
Loads the Quick Help Line at the bottom of the screen and the tool bar at the top .
//loads the resource file for the Quick Help Line