branchsbox/editor-tweakscancel
19 Commits over 0 Days - ∞cph!
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
Clean up more stuff in Window
Thicken status bar
Disable default window controls, but keep their functions intact (so we can draw the buttons ourselves without overlapping)
New profile popout
https://files.facepunch.com/alexguthrie/1b1711b1/explorer_qSGqzPUmRl.png
Don't need to ifdef these
I don't think we need any of this, let's get rid
We do want windows to match qt size
Start experimenting with switching over to just having DWM do everything
Qt sux and I'd rather just let the window manager handle stuff instead
Don't set window style
Make compile error dialog paths slightly more readable
Initial custom window frames v2
Initial titlebar buttons, just used for layout at the moment
Make it so titlebar handles mouse events, title label is transparent to mouse events
Style tweaks
Slim titlebar test (personally not a fan)
Link to orgs in account flyout
Methods with TitleBarButton attribute get caller as parameter
System window manager handles moving window, gives us aero snap etc
Split TitleBar.cs up
Refactor non-client hit tests
Make compile error dialog paths slightly more readable
Initial custom window frames v2
Initial titlebar buttons, just used for layout at the moment
Make it so titlebar handles mouse events, title label is transparent to mouse events
Style tweaks
Slim titlebar test (personally not a fan)
Link to orgs in account flyout
Methods with TitleBarButton attribute get caller as parameter
System window manager handles moving window, gives us aero snap etc
Split TitleBar.cs up
Refactor non-client hit tests
Start refactoring non-client hit tests, but even though we're doing the same thing, this now acts differently, for whatever reason
It's because we changed margins, so change it back
Native cleanup
Clear margins when window isn't maximized for sexier window controls
https://files.facepunch.com/alexguthrie/1b1411b1/explorer_DbcrjLTuhA.png
Check if we have maximize/minimize boxes before checking if pointer is inside them
Split TitleBar.cs up
See if we can do snap layout support
We can but it's a pain in the ass and doesn't quite work how I want it to
https://files.facepunch.com/alexguthrie/1b1411b1/explorer_EkeUR6XCKt.png
System window manager handles moving window, gives us aero snap etc
https://files.facepunch.com/alexguthrie/1b1411b1/lSatfk6v73.mp4
AuxiliaryButton -> TitleBarButton
Methods with auxiliary button attribute get caller as parameter
Link to orgs in account flyout
https://files.facepunch.com/alexguthrie/1b1311b1/sbox-dev_0NGXYxcapp.png
Slim titlebar has no minimize/maximize
Red color for close button
Slim titlebar test (personally not a fan)
https://files.facepunch.com/alexguthrie/1b1311b1/explorer_izANZMwEXz.png
Forget it
Menu bar style tweaks
https://files.facepunch.com/alexguthrie/1b1311b1/sbox-dev_tdHsQSldVw.png
Make it so titlebar handles mouse events, title label is transparent to mouse events
Change maximize icon on maximize
Disable maximizing on windows that can't do it (dialogs)
Turn this into a popup instead of just a menu
https://files.facepunch.com/alexguthrie/1b1311b1/explorer_rsmj8rxLw5.png
Initial auxiliary buttons, just used for layout at the moment
https://files.facepunch.com/alexguthrie/1b1311b1/explorer_xSDxuoqmSL.png
Un-fuck this
Instead of doing dumb layout stuff as an auxiliary button, add a profile section
Links to docs, api, etc
https://files.facepunch.com/alexguthrie/1b1311b1/explorer_kTdj5z2eoE.mp4
Make compile error dialog paths slightly more readable
Change font globally to Inter to see if it looks smoother
Custom window frames v2
Uses dwm calls instead of Qt frameless windows to preserve some system
window decorations (border, shadow)
https://files.facepunch.com/alexguthrie/1b1311b1/sbox-launcher_ba2t9H4VPt.png
CFramelessMainWindow uses dwm calls too
https://files.facepunch.com/alexguthrie/1b1311b1/explorer_64qvsu25BU.jpg