On 6/20/05, Takashi Hiromatsu <[EMAIL PROTECTED]> 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
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel