From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Mauger Newsgroups: gmane.emacs.devel Subject: Re: Proposal: Windows Control Panel Colors Date: Wed, 4 Jun 2003 14:33:00 -0700 (PDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20030604213300.9151.qmail@web80511.mail.yahoo.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054763564 21301 80.91.224.249 (4 Jun 2003 21:52:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2003 21:52:44 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jun 04 23:52:41 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19NgBU-0005XJ-00 for ; Wed, 04 Jun 2003 23:52:40 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19NgTG-0008Ne-00 for ; Thu, 05 Jun 2003 00:11:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NgCd-0008FJ-5U for emacs-devel@quimby.gnus.org; Wed, 04 Jun 2003 17:53:51 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Ng98-0007MP-Lb for emacs-devel@gnu.org; Wed, 04 Jun 2003 17:50:14 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Ng8Y-00074C-TL for emacs-devel@gnu.org; Wed, 04 Jun 2003 17:49:40 -0400 Original-Received: from web80511.mail.yahoo.com ([66.218.79.81]) by monty-python.gnu.org with smtp (Exim 4.20) id 19NfsU-0000wY-RZ for emacs-devel@gnu.org; Wed, 04 Jun 2003 17:33:02 -0400 Original-Received: from [12.25.19.242] by web80511.mail.yahoo.com via HTTP; Wed, 04 Jun 2003 14:33:00 PDT Original-To: emacs-devel@gnu.org In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14713 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14713 --- Jason Rumney wrote: > Michael Mauger writes: > > > My original implementation didn't add the colors to the > `w32-color-map' > > --instead it translated the color name to a COLORREF in > `x_to_w32_color' > > and handled the Gradient colors specially by falling back to the base > > title colors. The current implementation could be modified to add > the > > two Gradient colors to the color map if they don't exist in the > Registry. > > > > The other option would be to just default `mode-line' and > > `mode-line-inactive' to use `W32ActiveTitle' and `W32InactiveTitle' > as > > background colors respectively. I don't think that this looks as > good > > when the Gradient colors are available. But that is purely > subjective... > > Having looked at your screenshots, I don't think the titlebar colors > (especially gradient ones, which can be low contrast compared with the > title font color) are suited for the modeline. The modeline is more > analogous to the status area of Windows applications than a title bar. > It may be better to leave it as now, or maybe use W32Menu for active > modeline and calculate some intermediate value between the active > modeline color and background color for inactive modelines. > I don't entirely agree, since the mode-line does contain the only identifying information about the window (granted, with lots of status info as well). I guess the issue is far more subjective than I thought. I'm probably more aware of the color issues because my Win98 machine has its desktop theme changed frequently (my kids love finding new colors and fonts for the window chrome). Can we get agreement on the first part of the patch (i.e., loading the Windows control panel colors onto `w32-color-map') and leave the second portion of the patch (i.e., mapping specific faces to use the the control panel colors) off? That way, those of us who wish to use the control panel colors can, by customizing the faces, but the current defaults can stand. __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com