Example #1
0
bool View::handleEvent( const eq::ConfigEvent* event )
{
    ViewData* data = getViewData();
    LBASSERT( data );
    if( !data )
        return false;
    if( isActive( ))
        return data->handleEvent( event );
    data->handleEvent( event );
    return false;
}
Example #2
0
bool View::_handleEvent(E& event)
{
    ViewData* data = getViewData();
    LBASSERT(data);
    if (!data)
        return false;
    if (isActive())
        return data->handleEvent(event);
    return false;
}