From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.devel Subject: PATCH: bubbles.el, correct background for empty cells Date: Thu, 13 Sep 2007 15:49:30 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1189691162 18114 80.91.229.12 (13 Sep 2007 13:46:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2007 13:46:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 13 15:45:55 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IVp0p-0003RH-1f for ged-emacs-devel@m.gmane.org; Thu, 13 Sep 2007 15:45:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVp0o-0001tE-M9 for ged-emacs-devel@m.gmane.org; Thu, 13 Sep 2007 09:45:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IVp0m-0001t8-C3 for emacs-devel@gnu.org; Thu, 13 Sep 2007 09:45:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IVp0l-0001sw-1b for emacs-devel@gnu.org; Thu, 13 Sep 2007 09:45:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVp0k-0001st-U1 for emacs-devel@gnu.org; Thu, 13 Sep 2007 09:45:38 -0400 Original-Received: from ns.km1136.keymachine.de ([62.141.58.119] helo=km1136.keymachine.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IVp0k-0002oR-B5 for emacs-devel@gnu.org; Thu, 13 Sep 2007 09:45:38 -0400 Original-Received: from kenny.sha-bang.de (xdsli138.osnanet.de [212.95.109.138]) (authenticated bits=0) by km1136.keymachine.de (8.12.11.20060308/8.12.10) with ESMTP id l8DDjWUw016226 for ; Thu, 13 Sep 2007 15:45:32 +0200 Original-Received: from wilde by kenny.sha-bang.de with local (Kenny MUA v.0409034.42) ID 1IVp4U-0008Dj-V7 for emacs-devel@gnu.org; Thu, 13 Sep 2007 15:49:30 +0200 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78775 Archived-At: --=-=-= Hi, Empty cells in the graphic mode of bubble.el are always white, which of cause is only correct for a white background. I attached a small patch, which fixes that. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff -r 70bcad34282a lisp/play/bubbles.el --- a/lisp/play/bubbles.el Tue Sep 11 09:30:57 2007 +0200 +++ b/lisp/play/bubbles.el Thu Sep 13 15:42:19 2007 +0200 @@ -921,6 +921,7 @@ static char * dot3d_xpm[] = { (run-hooks 'bubbles-mode-hook)) ;;;###autoload + (defun bubbles () "Play Bubbles game." (interactive) @@ -1323,7 +1324,7 @@ Return t if new char is non-empty." (setq bubbles--empty-image (create-image (replace-regexp-in-string "^\"\\(.*\\)\t.*c .*\",$" - "\"\\1\tc #FFFFFF\"," template) + "\"\\1\tc None\"," template) 'xpm t ;;:mask 'heuristic :margin '(2 . 1))) --=-=-= -- Sascha Wilde Life's too short to read boring signatures --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --=-=-=--