deepa (deepa++at++tcsernet.tcs.ernet.in)
Wed, 22 Feb 1995 19:45:22 -0500 (EST)
I create three channels in my program and set
pfChanTravMode(chan, PFTRAV_DRAW, PFDRAW_OFF)
for two of them.
Then in my GUI I have an option to switch between the 1 Channel mode
and the 3 Channel mode. In the former, the size of the viewport is the entire
screen and in the latter the screen looks something like this.
_______ _______
| || |
|chan 1 ||chan 2 |
|_______||_______|
________________ <---Gap
| |
| chan 0 |
|________________|
When I switch to the 3-channel mode, I change the viewport size of the
existing channel and set the DRAW traverse mode of the other two to ON.
I want the gaps on the screen (see above) cleared black to give the
apparent effect
of a border. In my DRAW callback I included a pfClear but the gap area
is not cleared black and the stuff that was drawn in the single channel
mode remains drawn there. How do I get this area cleared when I
switch from the 1 channel to the three channel mode?
--------------------------------------------------------------------------------
Deepa Krishnan
TCS, Bombay,
India
e-mail : deepa++at++tcsernet.tcs.ernet.in
-------------------------------------------------------------------------------
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:59 PDT