branchsbox/custom-window-framecancel

17 Commits over 0 Days - ∞cph!

3 Days Ago
Account for (lack of) margin inside FullScreenManager so that fullscreened game view doesn't look like shit
3 Days Ago
Set Hammer window icon from managed since it's technically a managed window
3 Days Ago
Handle right click on title bar
3 Days Ago
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
3 Days Ago
Adjust icon rendering https://files.facepunch.com/alexguthrie/1b1911b1/sbox-dev_K4AWOOHxCj.png
3 Days Ago
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
4 Days Ago
Finishing touches
4 Days Ago
Draw titlebar icon without any additional processing
4 Days Ago
Fix native tools crash
4 Days Ago
This should fix the crap that happens when we move the window across monitors
4 Days Ago
Looks shit so let's make it smaller
4 Days Ago
Stick a massive logo on main window https://files.facepunch.com/alexguthrie/1b1811b1/explorer_6ZDckeWpaV.png
4 Days Ago
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
4 Days Ago
Clean up
4 Days Ago
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
5 Days Ago
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
5 Days Ago
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