branchsbox/custom-window-framecancel
15 Commits over 0 Days - ∞cph!
Account for (lack of) margin inside FullScreenManager so that fullscreened game view doesn't look like shit
Initial custom window frames
Add profile flyout button
Make things look pretty
Split TitleBar.cs up, remove unused
System window manager handles everything, but we draw our own titlebar buttons for consistency
Make CFramelessMainWindow the only frameless window type, pass widgets in for hit testing
Replace TitleBarStyle with paint overrides, so windows can do whatever they want
Clean up
Stick a massive logo on main window
https://files.facepunch.com/alexguthrie/1b1811b1/explorer_6ZDckeWpaV.png
Looks shit so let's make it smaller
This should fix the crap that happens when we move the window across monitors
Fix native tools crash
Draw titlebar icon without any additional processing
Finishing touches
Add resize handles around title bar
Move QApplication::setAttribute call into toolframework2
Native tools have an icon in the top left
Don't override titlebar paint in main window
Detect Windows version and use correct window icons for current version
Clean up native code, demote managed, remove unused
Shrink status bar
Adjust icon rendering
https://files.facepunch.com/alexguthrie/1b1911b1/sbox-dev_K4AWOOHxCj.png
Adjust icon rendering
https://files.facepunch.com/alexguthrie/1b1911b1/sbox-dev_K4AWOOHxCj.png
Add resize handles around title bar
Move QApplication::setAttribute call into toolframework2
Native tools have an icon in the top left
Don't override titlebar paint in main window
Detect Windows version and use correct window icons for current version
Clean up native code, demote managed, remove unused
Shrink status bar
Draw titlebar icon without any additional processing
This should fix the crap that happens when we move the window across monitors
Looks shit so let's make it smaller
Stick a massive logo on main window
https://files.facepunch.com/alexguthrie/1b1811b1/explorer_6ZDckeWpaV.png
Initial custom window frames
Add profile flyout button
Make things look pretty
Split TitleBar.cs up, remove unused
System window manager handles everything, but we draw our own titlebar buttons for consistency
Make CFramelessMainWindow the only frameless window type, pass widgets in for hit testing
Replace TitleBarStyle with paint overrides, so windows can do whatever they want
Clean up
Pass widgets into native CFramelessMainWindow for hit testing against rects, remove frameless stuff from QWidget
Fix nc hit test not returning properly
use frameWidth
Scale pixmap on set
BaseWindows are just normal windows, not frameless ones
Work around stupid windows hit test behaviour blocking mouse events when NCHITTEST != HTNOWHERE
Don't need this logging now that everything works
Remove TitleBarStyle
Test titlebar overrides, so we can eventually draw a big fuck off logo in the top left
Fix menu bar looking terrible
Add profile flyout button
Make things look pretty
Clean up, split TitleBar.cs up, remove unused
System window manager handles everything, but we draw our own titlebar buttons for consistency
Initial custom window frames
Add profile flyout button
Make things look pretty
Clean up, split TitleBar.cs up, remove unused
System window manager handles everything, but we draw our own titlebar buttons for consistency