]> git.eshelyaron.com Git - emacs.git/commit
Fix XBM files on NS (bug#26133)
authorAlan Third <alan@idiocy.org>
Fri, 6 Dec 2019 16:49:25 +0000 (16:49 +0000)
committerAlan Third <alan@idiocy.org>
Tue, 10 Dec 2019 20:38:21 +0000 (20:38 +0000)
commit9546a2a0d6653a7d930cda722f5babbebb0a1d0c
tree11b17204fb9b2e11899f3298bee2f70483586341
parent33a37360defdc08a5d8eeabffef96f8571d3b608
Fix XBM files on NS (bug#26133)

Reinstate some of the functionality removed in commit
67a878f78f879ce534232408c34dd11f42dd802b.

* src/nsimage.m (ns_image_from_XBM): Use new reverseBytes argument.
([EmacsImage initFromXBM:width:height:fg:bg:reverseBytes:]): Add
ability to reverse the contents of each byte for use with XBMs, while
still working with fringe bitmaps.
* src/nsterm.h
([EmacsImage initFromXBM:width:height:fg:bg:reverseBytes:]): Modified
function definition.
* src/nsterm.m (ns_draw_fringe_bitmap): Use new reverseBytes argument.
src/nsimage.m
src/nsterm.h
src/nsterm.m