[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mac OS X] [Win32] Frame-transparency patch
From: |
Juanma Barranquero |
Subject: |
Re: [Mac OS X] [Win32] Frame-transparency patch |
Date: |
Mon, 20 Jun 2005 23:58:35 +0200 |
On 6/20/05, Takashi Hiromatsu <address@hidden> wrote:
> We have done. How about this?
I'm using Visual Studio .NET 2003 and I'm getting "undefined
identifier" errors for LWA_ALPHA and WS_EX_LAYERED. They are on
WinUser.h, of course; I suppose it's a _WIN32_WINNT >= 0x0500 thing.
Perhaps the easiest fix is just define the constants yourself.
Once fixed the problem, the patch works fine on my setup.
A few nitpicks:
- In frame.el you should use
(when (memq system-type '(windows-nt darwin))
instead of
(when (or (eq system-type 'windows-nt) (eq system-type 'darwin))
because it's nicer and easier to extend if someday other platforms
support transparent backgrounds.
- Functions `set-active-alpha' and `set-inactive-alpha' do have an
argument ALPHA-VALUE, referred to in the docstring as ALPHA. Change
the name of the argument or fix the docstring, please.
- Also, capitalize the interactive messages "active alpha: " and
"inactive alpha: " to "Active alpha: " and "Inactive alpha: " (it's
customary on interactive prompt).
- Better still would be to document what the ALPHA-VALUE is and what
is its range (0.0 to 1.0, I assume, but it is not said anywhere).
--
/L/e/k/t/u
- [Mac OS X] [Win32] Frame-transparency patch, Seiji Zenitani, 2005/06/11
- Re: [Macemacsjp-dev 100] [Mac OS X] [Win32] Frame-transparency patch, Seiji Zenitani, 2005/06/14
- Re: [Macemacsjp-dev 103] Re: [Mac OS X] [Win32] Frame-transparency patch, Seiji Zenitani, 2005/06/16
- Re: [Macemacsjp-dev 100] [Mac OS X] [Win32] Frame-transparency patch, Michael Mauger, 2005/06/17
- Re: [Macemacsjp-dev 100] [Mac OS X] [Win32] Frame-transparency patch, Takashi Hiromatsu, 2005/06/17
- Re: [Mac OS X] [Win32] Frame-transparency patch, Takashi Hiromatsu, 2005/06/20
- Re: [Mac OS X] [Win32] Frame-transparency patch,
Juanma Barranquero <=
- Re: [Mac OS X] [Win32] Frame-transparency patch, Juanma Barranquero, 2005/06/20
- Re: [Mac OS X] [Win32] Frame-transparency patch, Takashi Hiromatsu, 2005/06/21
- Re: [Mac OS X] [Win32] Frame-transparency patch, Juanma Barranquero, 2005/06/21
- Re: [Mac OS X] [Win32] Frame-transparency patch, Takashi Hiromatsu, 2005/06/27
- Re: [Mac OS X] [Win32] Frame-transparency patch, Kevin Rodgers, 2005/06/21