bubbles-mode-map
bubbles-mode-map is a variable defined in `
bubbles.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
Mode map for bubbles.
Value:
(keymap
(menu-bar keymap
(Bubbles "Bubbles" keymap
(bubbles-undo menu-item "Undo last move" bubbles-undo :enable
(and bubbles--playing
(listp buffer-undo-list)))
(bubbles-separator-2 "--")
(bubbles-graphics-theme-menu menu-item "Graphics Theme"
(keymap
(bubbles-set-graphics-theme-circles menu-item "Circles" bubbles-set-graphics-theme-circles :button
(:radio eq bubbles-graphics-theme 'circles))
(bubbles-set-graphics-theme-squares menu-item "Squares" bubbles-set-graphics-theme-squares :button
(:radio eq bubbles-graphics-theme 'squares))
(bubbles-set-graphics-theme-diamonds menu-item "Diamonds" bubbles-set-graphics-theme-diamonds :button
(:radio eq bubbles-graphics-theme 'diamonds))
(bubbles-set-graphics-theme-balls menu-item "Balls" bubbles-set-graphics-theme-balls :button
(:radio eq bubbles-graphics-theme 'balls))
(bubbles-set-graphics-theme-emacs menu-item "Emacs" bubbles-set-graphics-theme-emacs :button
(:radio eq bubbles-graphics-theme 'emacs))
(bubbles-set-graphics-theme-ascii menu-item "ASCII" bubbles-set-graphics-theme-ascii :button
(:radio eq bubbles-graphics-theme 'ascii))
"Graphics Theme")
:enable bubbles--playing)
(bubbles-game-theme-menu menu-item "Game Theme"
(keymap
(bubbles-set-game-easy menu-item "Easy" bubbles-set-game-easy :button
(:radio eq bubbles-game-theme 'easy))
(bubbles-set-game-medium menu-item "Medium" bubbles-set-game-medium :button
(:radio eq bubbles-game-theme 'medium))
(bubbles-set-game-difficult menu-item "Difficult" bubbles-set-game-difficult :button
(:radio eq bubbles-game-theme 'difficult))
(bubbles-set-game-hard menu-item "Hard" bubbles-set-game-hard :button
(:radio eq bubbles-game-theme 'hard))
(bubbles-set-game-userdefined menu-item "User defined" bubbles-set-game-userdefined :button
(:radio eq bubbles-game-theme 'user-defined))
"Game Theme"))
(bubbles-customize menu-item "Edit all settings" bubbles-customize)
(bubbles-save-settings menu-item "Save all settings" bubbles-save-settings)
(bubbles-separator-1 "--")
(bubbles menu-item "New game" bubbles)
(bubbles-quit menu-item "Quit" bubbles-quit)
"Bubbles"))
(down-mouse-3 keymap
(bubbles-undo menu-item "Undo last move" bubbles-undo :enable
(and bubbles--playing
(listp buffer-undo-list)))
(bubbles-separator-2 "--")
(bubbles-graphics-theme-menu menu-item "Graphics Theme"
(keymap
(bubbles-set-graphics-theme-circles menu-item "Circles" bubbles-set-graphics-theme-circles :button
(:radio eq bubbles-graphics-theme 'circles))
(bubbles-set-graphics-theme-squares menu-item "Squares" bubbles-set-graphics-theme-squares :button
(:radio eq bubbles-graphics-theme 'squares))
(bubbles-set-graphics-theme-diamonds menu-item "Diamonds" bubbles-set-graphics-theme-diamonds :button
(:radio eq bubbles-graphics-theme 'diamonds))
(bubbles-set-graphics-theme-balls menu-item "Balls" bubbles-set-graphics-theme-balls :button
(:radio eq bubbles-graphics-theme 'balls))
(bubbles-set-graphics-theme-emacs menu-item "Emacs" bubbles-set-graphics-theme-emacs :button
(:radio eq bubbles-graphics-theme 'emacs))
(bubbles-set-graphics-theme-ascii menu-item "ASCII" bubbles-set-graphics-theme-ascii :button
(:radio eq bubbles-graphics-theme 'ascii))
"Graphics Theme")
:enable bubbles--playing)
(bubbles-game-theme-menu menu-item "Game Theme"
(keymap
(bubbles-set-game-easy menu-item "Easy" bubbles-set-game-easy :button
(:radio eq bubbles-game-theme 'easy))
(bubbles-set-game-medium menu-item "Medium" bubbles-set-game-medium :button
(:radio eq bubbles-game-theme 'medium))
(bubbles-set-game-difficult menu-item "Difficult" bubbles-set-game-difficult :button
(:radio eq bubbles-game-theme 'difficult))
(bubbles-set-game-hard menu-item "Hard" bubbles-set-game-hard :button
(:radio eq bubbles-game-theme 'hard))
(bubbles-set-game-userdefined menu-item "User defined" bubbles-set-game-userdefined :button
(:radio eq bubbles-game-theme 'user-defined))
"Game Theme"))
(bubbles-customize menu-item "Edit all settings" bubbles-customize)
(bubbles-save-settings menu-item "Save all settings" bubbles-save-settings)
(bubbles-separator-1 "--")
(bubbles menu-item "New game" bubbles)
(bubbles-quit menu-item "Quit" bubbles-quit)
"Bubbles")
(98 . backward-char)
(102 . forward-char)
(110 . next-line)
(112 . previous-line)
(117 . bubbles-undo)
(13 . bubbles-plop)
(mouse-2 . bubbles-plop)
(double-down-mouse-1 . bubbles-plop)
(32 . bubbles-plop)
(10 . bubbles-plop)
(113 . bubbles-quit)
bubbles-mode-map)