[comp.windows.x] Help redisplaying graphics when an Expose event happens

bball@koufax.ucr.edu (alvaro monge) (02/05/91)

An application I'm working on draws complicated graphics in a drawing
widget.  When I either move another window on top of the graphics, or
close/open my application (etc), these all create an Expose Event.
The problem I'm having is how to preserve my graphics inside of my
drawing widget, so when my window needs updating I won't have to regenerate
the complex graphics from scratch.

I am using the X toolkit and the Athena Widgets.

Al
bball@ucrmath.ucr.edu