aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGemini Lasswell2017-10-16 08:30:51 -0700
committerGemini Lasswell2017-10-24 09:02:49 -0700
commitcb73c70180f57f3fb99fae3aaefbacf0a61cea3f (patch)
tree67dab0331e0b70c3176ca5f536f35b0bd3591eff /etc
parent4ec0d2dc6f149c4c14833793f20e1e54270b85f2 (diff)
downloademacs-cb73c70180f57f3fb99fae3aaefbacf0a61cea3f.tar.gz
emacs-cb73c70180f57f3fb99fae3aaefbacf0a61cea3f.zip
Make Snake, Tetris and Pong adjust to display DPI
Replace gamegrid's constant 16x16 glyph with a generated one based on display dimensions (bug#24658). * lisp/play/gamegrid.el (gamegrid-glyph-height-mm): New variable. (gamegrid-glyph-height): Deleted. (gamegrid-xpm, gamegrid-xbm): Constants replaced with functions. (gamegrid-colorize-glyph): Use new functions instead of constants. (gamegrid-calculate-glyph-size, gamegrid-insert-xbm-bits): New functions.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 5c6c0b7f2a0..ec52460f776 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -82,6 +82,13 @@ globally or for individual definitions.
82the XTerm window title. This feature is experimental and is disabled 82the XTerm window title. This feature is experimental and is disabled
83by default. 83by default.
84 84
85** Gamegrid
86
87---
88*** Gamegrid now determines its default glyph size based on display
89dimensions, instead of always using 16 pixels. As a result, Tetris,
90Snake and Pong are more playable on HiDPI displays.
91
85 92
86* New Modes and Packages in Emacs 27.1 93* New Modes and Packages in Emacs 27.1
87 94