On Sun, 2002-03-03 at 08:57, ext Steve Fernandez wrote:
> Hi guys,
> 
>         Could somebody tell me the EASIEST way to open a 640x480 window
> under X, and then color all the pixels individually using a 16-bit color
> value? What I'm looking for is something very, very fast and like
> 
> create_window ( horiz_res, vert_res, depth )
> 
> and
> 
> putpixel ( window, row, col, color )
> 
>         Could anybody suggest a custom library or wrapper around the
> cumbersome X11 library functions for the above purpose?

SDL is probably what you're looking for: http://www.libsdl.org
It's included on RHL 7.2 at least, dunno about earlier versions.

        - Panu -



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to