mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add support for transparency on Windows (issue #99).
- Enable the use of Skia instead of GDI for text rendering. - Add a new CefWindowInfo::m_bTransparentPainting member. - Add transparent popup window and off-screen rendering examples to cefclient. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@334 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -99,6 +99,7 @@ struct CefWindowInfoTraits {
|
||||
target->m_hWndParent = src->m_hWndParent;
|
||||
target->m_hMenu = src->m_hMenu;
|
||||
target->m_bWindowRenderingDisabled = src->m_bWindowRenderingDisabled;
|
||||
target->m_bTransparentPainting = src->m_bTransparentPainting;
|
||||
target->m_hWnd = src->m_hWnd;
|
||||
}
|
||||
};
|
||||
@ -144,6 +145,11 @@ public:
|
||||
m_bWindowRenderingDisabled = TRUE;
|
||||
m_hWndParent = hWndParent;
|
||||
}
|
||||
|
||||
void SetTransparentPainting(BOOL transparentPainting)
|
||||
{
|
||||
m_bTransparentPainting = transparentPainting;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user