summaryrefslogtreecommitdiff
path: root/src/nsterm.h
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2017-08-13 01:47:05 +0100
committerAlan Third <alan@idiocy.org>2017-08-16 20:56:55 +0100
commit3505b77ad7b54e5208685b6e229c76387120d5a1 (patch)
tree68d798944aa90b1a757e066baba9f58488d51531 /src/nsterm.h
parent400934b694087f4fe94755d78cbd1569efdb1fa8 (diff)
downloademacs-3505b77ad7b54e5208685b6e229c76387120d5a1.tar.gz
Add multiframe image support to NS port (bug#21714)
* src/nsimage.m (ns_load_image): Handle multiple frames. (EmacsImage::getMetadata, EmacsImage::setFrame): New functions. * src/nsterm.h (EmacsImage::getMetadata, EmacsImage::setFrame): New function prototypes.
Diffstat (limited to 'src/nsterm.h')
-rw-r--r--src/nsterm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nsterm.h b/src/nsterm.h
index 0f1b36db7b2..67c0d42ac18 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -668,6 +668,8 @@ typedef id instancetype;
alpha:(unsigned char)a;
- (void)setAlphaAtX: (int)x Y: (int)y to: (unsigned char)a;
- (NSColor *)stippleMask;
+- (Lisp_Object)getMetadata;
+- (BOOL)setFrame: (unsigned int) index;
@end