summaryrefslogtreecommitdiff
path: root/src/nsterm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nsterm.h')
-rw-r--r--src/nsterm.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/nsterm.h b/src/nsterm.h
index c934ed8e792..260263549b6 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -717,6 +717,9 @@ extern void ns_term_shutdown (int sig);
#define NS_DUMPGLYPH_MOUSEFACE 3
+EXFUN (Fx_display_grayscale_p, 1);
+EXFUN (Fx_display_planes, 1);
+
/* In nsfont, called from fontset.c */
extern void nsfont_make_fontset_for_font (Lisp_Object name,
Lisp_Object font_object);
@@ -747,11 +750,13 @@ extern Lisp_Object ns_cursor_type_to_lisp (int arg);
extern Lisp_Object Qnone;
/* XColor defined in dispextern.h (we use color_def->pixel = NSColor id), but
- this causes an #include snafu, so we can't declare it.
- extern int ns_defined_color (struct frame *f, char *name, XColor *color_def,
- int alloc); */
+ this causes an #include snafu, so we can't declare it. */
+extern int
+ns_defined_color (struct frame *f, char *name, XColor *color_def, int alloc,
+ char makeIndex);
#ifdef __OBJC__
+extern Lisp_Object ns_color_to_lisp (NSColor *col);
extern int ns_lisp_to_color (Lisp_Object color, NSColor **col);
extern NSColor *ns_lookup_indexed_color (unsigned long idx, struct frame *f);
extern unsigned long ns_index_color (NSColor *color, struct frame *f);