Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* How do I throw a pixmap up on a DecWindows screen at once?
@ 1992-11-11  1:28 Michael Levin
  0 siblings, 0 replies; only message in thread
From: Michael Levin @ 1992-11-11  1:28 UTC (permalink / raw)



     I am a complete novice to X-windows programming (although I know
C and unix and VMS systems programming at an intermediate level). I
need to take a 2-dimensional array of colormap indeces, corresponding
to a rectangular patch of the screen with pixels of different colors,
and throw it up as a window on a Ultrix VAX or a VMS Vax with
DecWindows (no MIT X stuff - just regular out-of-the-box DecWindows)
from a C program. Something like this:
display_in_window(array)
short array[X][Y];
{
   /* here's the part I'm having trouble with */
}

where each element of array[][] will be 0 for black, 1 for white, 2
for green, etc.
   Is there any code anywhere that will show me how to do this? At
least a hint as to which routines I should be looking at (I don't have
a DecWindows manual, but I'll get one if there's no PD code already
around to do this - what's the proper manual called?). If anyone has
any helpful suggestions, please email me at mlevin@husc8.harvard.edu.

Mike Levin


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1992-11-11  1:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-11-11  1:28 How do I throw a pixmap up on a DecWindows screen at once? Michael Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox