[Webkit-unassigned] [Bug 17626] Programatically set background color and 16-bit alpha on WebKit GTK
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Mar 1 13:00:34 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=17626
------- Comment #3 from seanegan at gmail.com 2008-03-01 13:00 PDT -------
(In reply to comment #2)
> set_transparent/get_transparent() is actually based directly on the
> drawsBackground from the Mac API (there might still be a case for removing it),
> but you are right that setting a background color is also a useful feature
> present on Mac.
Oh, ok. I misundersood what 'setDrawsBackground' does, but it looks like maybe
it's supposed to be deprecated? Adium says:
if ([self respondsToSelector:@selector(setBackgroundColor:)]) {
//As of Safari 3.0, we must call setBackgroundColor: to make
the webview transparent
[self setBackgroundColor:(flag ? [NSColor clearColor] :
[NSColor whiteColor])];
} else {
[self setDrawsBackground:!flag];
}
> Out of curiosity, is the background color/alpha setting useful in apps
> (guessing this is for pidgin)?
Yeah! http://pidgin.im/~seanegan/webkit11.png
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list