diff options
| author | Alan Third | 2021-08-15 10:46:43 +0100 |
|---|---|---|
| committer | Alan Third | 2021-11-14 18:47:52 +0000 |
| commit | bc3b8f3418cc57eb0bb49745c94e14f995f1cdb5 (patch) | |
| tree | 538128b89a6d89b5fdad2934234968c1c9f2ee65 /lib/malloc/dynarray_finalize.c | |
| parent | 2dd414a0ddd7710a3154b33596bece43e322cdce (diff) | |
| download | emacs-bc3b8f3418cc57eb0bb49745c94e14f995f1cdb5.tar.gz emacs-bc3b8f3418cc57eb0bb49745c94e14f995f1cdb5.zip | |
Further cleanup of NS color code
* src/dispextern.h (FACE_COLOR_TO_PIXEL): Remove define and fix all
callers.
* src/nsterm.h (struct nsfont_info): Remove color_table.
* src/nsterm.m ([NSColor colorWithUnsignedLong:]): Always assume the
input contains the correct alpha value.
(ns_lookup_indexed_color):
(ns_index_color):
(ns_color_index_to_rgba): Remove functions and fix all callers.
(ns_query_color): No longer set pixel to the lookup table index,
always just set it to the ARGB integer value.
(ns_defined_color): Ignore makeindex as we no longer set pixel to the
lookup table index.
(ns_initialize_display_info):
(ns_redisplay_interface): Remove lookup table.
(ns_term_init): Fix the alpha setting.
Diffstat (limited to 'lib/malloc/dynarray_finalize.c')
0 files changed, 0 insertions, 0 deletions