Add API for transparency and decorations and add support for win32
This commit is contained in:
parent
1377f276b7
commit
81314f91d8
5 changed files with 80 additions and 2 deletions
|
|
@ -44,6 +44,7 @@ fn send_event(input_window: winapi::HWND, event: Event) {
|
|||
/// This is the callback that is called by `DispatchMessage` in the events loop.
|
||||
///
|
||||
/// Returning 0 tells the Win32 API that the message has been processed.
|
||||
// FIXME: detect WM_DWMCOMPOSITIONCHANGED and call DwmEnableBlurBehindWindow if necessary
|
||||
pub unsafe extern "system" fn callback(window: winapi::HWND, msg: winapi::UINT,
|
||||
wparam: winapi::WPARAM, lparam: winapi::LPARAM)
|
||||
-> winapi::LRESULT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue