Changeset 28129 in webkit
- Timestamp:
- Nov 28, 2007 8:50:24 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r28127 r28129 1 2007-11-28 Antti Koivisto <antti@apple.com> 2 3 Reviewed by Oliver. 4 5 Make QTMovieView fill color transparent. This behavior matches the specification 6 (and allows nice alpha blended video). 7 8 * platform/graphics/mac/MoviePrivateQTKit.mm: 9 (WebCore::MoviePrivate::createQTMovieView): 10 1 11 2007-11-28 Antti Koivisto <antti@apple.com> 2 12 -
trunk/WebCore/platform/graphics/mac/MoviePrivateQTKit.mm
r27866 r28129 145 145 [m_qtMovieView.get() setControllerVisible:NO]; 146 146 [m_qtMovieView.get() setPreservesAspectRatio:YES]; 147 // the area not covered by video should be transparent 148 NSColor* transparent = [NSColor colorWithDeviceRed: 0.0f green: 0.0f blue: 0.0f alpha: 0.0f]; 149 [m_qtMovieView.get() setFillColor:transparent]; 147 150 wkQTMovieViewSetDrawSynchronously(m_qtMovieView.get(), YES); 148 151 }
Note: See TracChangeset
for help on using the changeset viewer.