aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-03-16 03:23:34 +0000
committerYAMAMOTO Mitsuharu2005-03-16 03:23:34 +0000
commitaf6e9e853c0dd5f73903fc647bdbd9d4bd1827fa (patch)
tree2d8f94ab46a7716cafcab534c7271e4d110dea05
parent89767eec378ca4ab8088fd97ca29088fdd888bae (diff)
downloademacs-af6e9e853c0dd5f73903fc647bdbd9d4bd1827fa.tar.gz
emacs-af6e9e853c0dd5f73903fc647bdbd9d4bd1827fa.zip
Add mouse pointer shape constants.
-rw-r--r--lisp/term/mac-win.el49
1 files changed, 49 insertions, 0 deletions
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index 69438c349a4..ecfb80ff645 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -230,6 +230,55 @@ This function returns ARGS minus the arguments that have been processed."
230 (funcall handler this-switch)) 230 (funcall handler this-switch))
231 (setq args (cons orig-this-switch args))))) 231 (setq args (cons orig-this-switch args)))))
232 (nconc (nreverse args) x-invocation-args)) 232 (nconc (nreverse args) x-invocation-args))
233
234
235;;
236;; Standard Mac cursor shapes
237;;
238
239(defconst mac-pointer-arrow 0)
240(defconst mac-pointer-copy-arrow 1)
241(defconst mac-pointer-alias-arrow 2)
242(defconst mac-pointer-contextual-menu-arrow 3)
243(defconst mac-pointer-I-beam 4)
244(defconst mac-pointer-cross 5)
245(defconst mac-pointer-plus 6)
246(defconst mac-pointer-watch 7)
247(defconst mac-pointer-closed-hand 8)
248(defconst mac-pointer-open-hand 9)
249(defconst mac-pointer-pointing-hand 10)
250(defconst mac-pointer-counting-up-hand 11)
251(defconst mac-pointer-counting-down-hand 12)
252(defconst mac-pointer-counting-up-and-down-hand 13)
253(defconst mac-pointer-spinning 14)
254(defconst mac-pointer-resize-left 15)
255(defconst mac-pointer-resize-right 16)
256(defconst mac-pointer-resize-left-right 17)
257;; Mac OS X 10.2 and later
258(defconst mac-pointer-not-allowed 18)
259;; Mac OS X 10.3 and later
260(defconst mac-pointer-resize-up 19)
261(defconst mac-pointer-resize-down 20)
262(defconst mac-pointer-resize-up-down 21)
263(defconst mac-pointer-poof 22)
264
265;;
266;; Standard X cursor shapes that have Mac counterparts
267;;
268
269(defconst x-pointer-left-ptr mac-pointer-arrow)
270(defconst x-pointer-xterm mac-pointer-I-beam)
271(defconst x-pointer-crosshair mac-pointer-cross)
272(defconst x-pointer-plus mac-pointer-plus)
273(defconst x-pointer-watch mac-pointer-watch)
274(defconst x-pointer-hand2 mac-pointer-pointing-hand)
275(defconst x-pointer-left-side mac-pointer-resize-left)
276(defconst x-pointer-right-side mac-pointer-resize-right)
277(defconst x-pointer-sb-h-double-arrow mac-pointer-resize-left-right)
278(defconst x-pointer-top-side mac-pointer-resize-up)
279(defconst x-pointer-bottom-side mac-pointer-resize-down)
280(defconst x-pointer-sb-v-double-arrow mac-pointer-resize-up-down)
281
233 282
234;; 283;;
235;; Available colors 284;; Available colors