
29 Jan
2011
29 Jan
'11
9:36 a.m.
I am trying to load a bitmap and display it with the Xlib bindings, but I wasn't able to find a way. The C Xlib functions would be XReadBitmapFile() of XReadBitmapFileData() to read the data, but it seems that those functions haven't been included in the haskell bindings. From http://hackage.haskell.org/packages/archive/X11/latest/doc/html/src/Graphics...: -- XCreateBitmapFromData omitted (awkward looking type) -- XReadBitmapFileData omitted (awkward looking type) Does anybody know how to do that?