Hello again,

is the SimpleStatisticsForeground working together with the MultiDisplayWindow?
I seem not to get it working.

What i do is to activate the Simplestatisticsforeground for each viewport of the multidisplaywindow. I do it with this function (i just extended the SceneManager::setStatistics() by a param).


void SceneManager::SetStatistics(bool on, ViewportPtr vp)
{
    if (_statforeground != NullFC)
    {
        if(on)
        {
            vp->getForegrounds().push_back(_statforeground);

            _action->setStatistics(&_statforeground->getCollector());
        }
        else
        {
            MFForegroundPtr::iterator it;

            it = vp->getForegrounds().find(_statforeground);
            vp->getForegrounds().erase(it);

            _action->setStatistics(NULL);
        }
    } else {
      BIASERR("can't activate statistics, null pointer");
    }
}


I want to show some status messages on the displayServers, just some kind of text set by the client.
Is there a simple way to do it?

Greets, 
    Daniel

--
Dipl.-Ing. Daniel Grest, Multimedia Information Processing
University Kiel, Germany  Tel. 0049 431 880 4470
==========================================================

"This is the way the world is lead to war:
     politicians lie to journalists,
     and believe those lies when they see them in print ."
         ANONYMOUS


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to