summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2021-07-24 16:08:09 +0100
committerAlan Third <alan@idiocy.org>2021-07-26 23:12:31 +0100
commitd2d3fc39295953b4db5bdd7a21d513a87d3d00f0 (patch)
tree96f24267526db830a71d5552ee03c8821e5a52fa /test/lisp/emacs-lisp/bytecomp-resources
parent9ce3fdc461c9ec799ccbdc9281e392b0b77efd2b (diff)
downloademacs-d2d3fc39295953b4db5bdd7a21d513a87d3d00f0.tar.gz
emacs-d2d3fc39295953b4db5bdd7a21d513a87d3d00f0.tar.bz2
emacs-d2d3fc39295953b4db5bdd7a21d513a87d3d00f0.zip
Convert fringe bitmaps to vectors on NS port
Unfortunately *step doesn't support masks for bitmap images so changing the colors of fringe bitmaps is awkward. We can work around this by converting the bitmap into an NSBezierPath and drawing it in the required color. * src/nsterm.m (ns_define_fringe_bitmap): (ns_destroy_fringe_bitmap): New functions (ns_draw_fringe_bitmap): Display the NSBezierPath. * src/nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:reverseBytes:]): Remove variable that's there to allow us to easily modify the XBM colors. ([EmacsImage setXBMColor:]): Remove method.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources')
0 files changed, 0 insertions, 0 deletions