forked from github_mirror/framelesshelper
WinNativeEventFilter: 1. Removed all unused functions and macros. Win32 API prototypes are not touched because we may still need them in the future. 2. Don't store data through SetWindowLongPtrW, using dynamic properties of QWindow instead. People may rely on GetWindowLongPtrW(hwnd, GWLP_USERDATA) to do their own work. 3. Some helper functions are removed, such as moveWindowToDesktopCenter(). You can implement them yourself. Keep them in the source code will keep pulling in new dependencies so I have to get rid of them. 4. Some blocks are removed, such as WM_GETMINMAXIINFO. It's not needed. You can call Qt's standard API now, such as setMaximumSize() and setMinimumSize(). FramelessQuickHelper: 1. Removed all functions that can be replaced by Qt's own API, such as setMaximumSize() and setMinimumSize(). 2. Removed helper functions, such as moveWindowToDesktopCenter(). You can implement them yourself. Just few lines of code. FramelessWindowsManager: Adapt to the above changes. Signed-off-by: Yuhang Zhao <2546789017@qq.com> |
||
---|---|---|
.. | ||
Win32Demo.pro | ||
main.cpp | ||
widget.cpp | ||
widget.h |