[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mac OS X] [Win32] Frame-transparency patch
From: |
Seiji Zenitani |
Subject: |
[Mac OS X] [Win32] Frame-transparency patch |
Date: |
Sat, 11 Jun 2005 17:02:40 +0900 |
Hi,
the attached patch provides frame-transparency to Emacs on Mac OSX
and Windows. We are happy if it will be merged into the main emacs code.
===========
1. Target operating systems
* Mac OSX : 'Carbon Emacs'
* Windows XP, 2000, ME : 'NTEmacs'
2. How to build
* Mac OSX
Frame-transparency is automatically enabled when compiled on Mac OSX
10.2 or later.
* MS Windows
If you use Windows XP, 2000 or ME, add manually the below switch when
configuring.
CFLAGS=-DUSE_TRANSPARENCY
3. Parameters
Two frame parameters are introduced:
* active-alpha : window opacity of the frontmost frame.
* inactive-alpha : window opacity of non-active frames.
Window opacity will be set by using a float value between 0.0
(invisible) to 1.0 (completely opaque). By default they are set to 1.0.
4. sample settings
To set frame-transparency of the current frame
;; active frame
(set-frame-parameter (selected-frame) 'active-alpha 0.9)
;; non active frame
(set-frame-parameter (selected-frame) 'inactive-alpha 0.8)
To set the default frame parameters
(setq default-frame-alist
(append
(list
'(active-alpha . 0.9) ;; active frame
'(inactive-alpha . 0.8) ;; non active frame
) default-frame-alist)
)
5. authors
Ryo Yoshitake, Takashi Hiromatsu, Seiji Zenitani
contact: address@hidden
===========
Sincerely,
Seiji Zenitani
address@hidden
transparency2.patch
Description: Binary data
- [Mac OS X] [Win32] Frame-transparency patch,
Seiji Zenitani <=
- 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, 2005/06/20
- 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