Re: performer gui, message

New Message Reply Date view Thread view Subject view Author view

Fischler (src++at++rose)
Mon, 13 Mar 1995 18:12:15 -0800


+>---- On Mar 13, 5:10pm, Roy W Latham wrote:
> Subject: performer gui, message
->
->I meant the gui in performer not the Motif.

Right - would be easy enough to add but in the current version,
all widgets in a panel are tracked so sliders will slide and
switch buttons will switch. Perfectly reasonable RFE.
FYI - if you want to do your own enhancements,
the source code is in /usr/src/Performer/src/lib/libpfutil/gui.c.

->I also want to ask another question.
->
-> I used pfuDrawMessage to show some text in the screen, but I don't know how
->to get rid of them. I didn't see pfuDeleteMessage in the man page;
->is there one?
-> If not, how do I get rid of them?

There is no such specific routine.
You are probably drawing the message in the overlay planes via
        drawmode(OVERDRAW)?
You can clear the overlay planes to remove all messages, and
        you can set viewport or scrmask to clear a portion of the screen.
You can also redraw the text with color(0) - the transparent color
in the overlay planes. This might be the easiest way to clear a
single message in a block of other text.

FYI - It is a very expensive operation to switch drawmode() so anything
that needs to be frequently updated you should do at the end of drawing
and just draw it un-zbuffered.

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Graphics Dev.
src++at++sgi.com  (415) 390 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:04 PDT

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