summaryrefslogtreecommitdiff
path: root/src/ui/window.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-11 21:53:31 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-11 21:53:31 +0200
commit73c8166d5c8b397c166ee9ece0173f2b278b6ddb (patch)
treec365e8d387a0d1a02e0de69209d3f80164443157 /src/ui/window.h
parentbfdda501cb01df95c968c9f5378bb91cd66eea87 (diff)
Windows: Experimenting with a custom window frame and title bar
Added the build option ENABLE_CUSTOM_FRAME that causes the window to be created as borderless. Lagrange's own UI widgets are used to draw the title bar elements, including the window buttons. There is plenty of sizing behavior still missing, for instance snapping to fullscreen left/right side, double-clicking the frame edges, and proper maximize mode that doesn't cover the entire screen. The window system menu is also missing, but that can be shown manually when appropriate. A command-line option should also be provided to disable winbar in case the default title bar is required.
Diffstat (limited to 'src/ui/window.h')
0 files changed, 0 insertions, 0 deletions