Commit Graph

8 Commits

Author SHA1 Message Date
Yuhang Zhao a970cafe3a Remove useless variable.
It's not used since we use the object pointers.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-14 10:27:10 +08:00
Yuhang Zhao 083e5ec38c Minor tweaks.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-13 21:33:15 +08:00
Yuhang Zhao 2ca6a90ae2 Add a Qt Quick helper class.
It's much easier to use it in Qt Quick now.

Fixes: #11

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-12 20:53:53 +08:00
Yuhang Zhao 9a70ebaaa1 Update Qt Quick example.
Fixes: #11

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-11 22:40:13 +08:00
Yuhang Zhao 136b865853 Minor improvements.
1. Use const more.
2. Add some missing ResolveWin32APIs() call
3. Move updateQtFrame to WinNativeEventFilter

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-09 12:58:01 +08:00
Yuhang Zhao ed6267461c Minor improvements.
The ignore and draggable areas/objects are limited in the title bar area only.
There's no need to judge them outside the title bar area.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-09 09:25:08 +08:00
Yuhang Zhao c4fe56345f Fix compilation error introduced by previous commit.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-08 21:37:36 +08:00
Yuhang Zhao 0fe297b5e4 Add UNIX helper back.
With some improvements.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2020-05-08 21:07:44 +08:00