Channel swaping

New Message Reply Date view Thread view Subject view Author view

David RAPIDEL (diginext++at++imaginet.fr)
Thu, 17 Dec 1998 12:52:06 +0100


Hello pfAll,

Thanks you so much for your answers about HUD and multi channel. It
works find now.

My simulation consist of three channels(pChan[0...2]) and optionnaly a
zoom(pChan[3]) that take the entire windows area. My three channels are
attach and I try to set up the fourth one (attach too), and to control
the active channel in the CB drawing like this :
drawCB:
   if(pState->zoomFlag)
       {
       if(chan == pState->pChan[3])
            pfDraw();
        }
   else
     {
       if(chan != pState->pChan[3])
        {
           pfDraw();
             ...
        }
    }

 (pState is a shared memory structure)

The problem is the fourth channel always overlay the others channel.
I have only one pipe.

Thank you for any answer.
David,

--

David RAPIDEL *---*---*---*---*---*---*---*---*---*---* DIGINEXT Le Tertia II - Pole d'activite des Milles 13851 Aix En Provence - France Tel : +33 0442975633 - Fax +33 0442975649 *---*---*---*---*---*---*---*---*---*---*


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Dec 17 1998 - 04:05:29 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.