diff options
author | Alan Third <alan@idiocy.org> | 2020-09-25 17:12:51 +0100 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2020-09-25 17:19:00 +0100 |
commit | 3a3226716b84c29c7eee9e19054ffe7618bd334c (patch) | |
tree | b542b3a6a21615fb5ee8c47f8e1b73612317d279 /test/lisp/emacs-lisp/cl-seq-tests.el | |
parent | dd6876d6e2c57c003edbfe2fb4b12b3dd3e253b8 (diff) | |
download | emacs-3a3226716b84c29c7eee9e19054ffe7618bd334c.tar.gz emacs-3a3226716b84c29c7eee9e19054ffe7618bd334c.tar.bz2 emacs-3a3226716b84c29c7eee9e19054ffe7618bd334c.zip |
Tidy up NS color handling
* src/nsimage.m (COLORSPACE_NAME): New macro to find the current
colorspace.
([EmacsImage initFromXBM:width:height:fg:bg:reverseBytes:]):
([EmacsImage initForXPMWithDepth:width:height:]): Use the current
colorspace.
* src/nsterm.h (NSAppKitVersionNumber10_7):
(NSAppKitVersionNumber10_10): Define for macOS version checks.
* src/nsterm.m ([NSColor colorForEmacsRed:green:blue:alpha:]): Tidy up
the version checking.
([NSColor colorUsingDefaultColorSpace]): Tidy the version checking and
use [NSColor colorUsingColorSpace:] with GNUstep.
Diffstat (limited to 'test/lisp/emacs-lisp/cl-seq-tests.el')
0 files changed, 0 insertions, 0 deletions