comparison lisp/play/bubbles.el @ 95841:b4e36ff621b3

Add some compiler declarations, for builds without X.
author Glenn Morris <rgm@gnu.org>
date Thu, 12 Jun 2008 03:56:20 +0000
parents 949bd6ad1ba4
children ce09add00a57
comparison
equal deleted inserted replaced
95840:0e3c2e18b9c3 95841:b4e36ff621b3
948 "Quit Bubbles." 948 "Quit Bubbles."
949 (interactive) 949 (interactive)
950 (message "bubbles-quit") 950 (message "bubbles-quit")
951 (bury-buffer)) 951 (bury-buffer))
952 952
953 (declare-function image-size "image.c" (spec &optional pixels frame))
954
953 (defun bubbles--compute-offsets () 955 (defun bubbles--compute-offsets ()
954 "Update horizontal and vertical offsets for centering the bubbles grid. 956 "Update horizontal and vertical offsets for centering the bubbles grid.
955 Set `bubbles--col-offset' and `bubbles--row-offset'." 957 Set `bubbles--col-offset' and `bubbles--row-offset'."
956 (cond ((and (display-images-p) 958 (cond ((and (display-images-p)
957 bubbles--images-ok 959 bubbles--images-ok