(struct fringe_bitmap): Change member bits from char to
authorKim F. Storm <storm@cua.dk>
Fri, 13 Feb 2004 23:28:52 +0000 (23:28 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 13 Feb 2004 23:28:52 +0000 (23:28 +0000)
commit0881a0fd1488ffb9f916b24d9eecb5f95d758de0
tree52743b415101a6e3d89c1c0e7323194747c3b2cf
parentdcd0c64591a4cd97cb5a23dea2bd1b12bacdbce7
(struct fringe_bitmap): Change member bits from char to
short to facilitate 16 bits wide bitmaps.  Modify all standard
bitmaps accordingly.
(BYTES_PER_BITMAP_ROW, STANDARD_BITMAP_HEIGHT): New macros.
(FRBITS): Use STANDARD_BITMAP_HEIGHT instead of just sizeof.
(draw_fringe_bitmap): Ditto.
(init_fringe_bitmap) [MAC_OS]: Don't bitswap.
(init_fringe_bitmap) [HAVE_X_WINDOWS]: Enhance bitswapping to
handle up to 16 bits wide bitmaps.
(Fdefine_fringe_bitmap): Doc fix.  Handle wider bitmaps.
src/fringe.c