model_server/gra/src/graAction.h.cxx
//------------------------------------------
// highlight
//
// Set the highlight on a given symbol in this window.
//------------------------------------------
highlight
Set the highlight on a given symbol in this window.
highlight Set the highlight on a given symbol in this window .
void graWindow::highlight(graParametricSymbol* symbol)
{
    Initialize(graWindow::highlight);
    if(this != highlight_window || symbol != highlight_symbol)
    {
	if(highlight_window)
	    highlight_window->unhighlight();
	highlight_box(symbol);
	if(symbol)
	{
	    viewSymbolNodePtr viewnode = symbol->get_viewnode();
	    genString status_line;
	    viewnode->description(status_line);
	    const char *pc = status_line.str();
	    if (pc == NULL)
		pc = "";
	    msg("highlight:graAction.h.C", normal_sev) << pc << eom;
	}
    }
}
void graWindow :: highlight ( graParametricSymbol * symbol ) { Initialize ( graWindow :: highlight ) ; if ( this != highlight_window || symbol != highlight_symbol ) { if ( highlight_window ) highlight_window -> unhighlight ( ) ; highlight_box ( symbol ) ; if ( symbol ) { viewSymbolNodePtr viewnode = symbol -> get_viewnode ( ) ; genString status_line ; viewnode -> description ( status_line ) ; const char * pc = status_line . str ( ) ; if ( pc == NULL ) pc = " " ; msg ( " " , normal_sev ) << pc << eom ; } } }
highlight
Set the highlight on a given symbol in this window.
highlight Set the highlight on a given symbol in this window .