annala@neuro.usc.edu (A J Annala) (05/16/89)
I am having trouble displaying a pseudocolor or greyscale image in the Xaw Viewport. Is the Xaw Viewport color capable? Does anyone have a code fragment describing how to display a color zpixmap in this widget? Thanks, AJ
converse@EXPO.LCS.MIT.EDU (Donna Converse) (05/16/89)
>I am having trouble displaying a pseudocolor or greyscale image in the >Xaw Viewport. Is the Xaw Viewport color capable? Does anyone have a >code fragment describing how to display a color zpixmap in this widget? The Xaw Viewport widget does not allow you to do graphics within it. Create a child widget of the Viewport widget and do the graphics in the child widget. Try using a core widget, whose class is widgetClass. Donna Converse