kevin@drogges.tti.com (06/24/91)
I have several hundred lines of text data, and I want the user to be
able to select a line from the scrolling canvas, and I then draw a
little box around it.
Unfortunately, the "easy" way, which is to allocate a large enough pixmap
for all of the lines of text, and then use the repaint proc to do
"XCopyPlanes" into the damaged region, requires a lot of memory. Is there
a more economical way to do this?
Text sub-windows don't seem to do the trick, because I need to do XLib
graphics. I've tried allocating a 1-plane pixmap to save space, but i
can't seem to be able to do the XCopyPlane onto the XView canvas without
getting a protocol error. At this time, i don't CARE about matching
foreground or background colors - black&white will do.
Any tricks i'm missing?
Many thanks
--
Kevin Carothers {psivax,philabs,retix}!ttidca!kevin