fltk_bitmap_new
fn
FltkBitmap fltk_bitmap_new(const(ubyte) * bits, int w, int h)Creates a new bitmap from XBM data.
The data should be in XBM format (1-bit per pixel, MSB first). The data pointer must remain valid for the lifetime of the bitmap.
Parameters
bits | Pointer to XBM bitmap data |
w | Width in pixels |
h | Height in pixels |
Returns
New bitmap handle, or null on failure