Mercurial > dwindows
comparison dw.h @ 2141:709f8bfa711f
Win: Fix a problem where full dark mode was functioning as forced.
Added sysmenu and icon for the window menu when operating in full dark mode.
I can't seem to convert from a menubar to a popup menu... will keep looking but...
because of this we will need to use the titlebar menu even in light mode when
full dark mode is enabled. When dark mode is disabled or basic will use the
classic menu bar. Also prefix some of the internal dark mode functions.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 16 Jul 2020 20:47:15 +0000 |
parents | d9720d48d61e |
children | 48172881415c |
comparison
equal
deleted
inserted
replaced
2140:b6e09fb597aa | 2141:709f8bfa711f |
---|---|
633 ULONG style; | 633 ULONG style; |
634 RECT rect; | 634 RECT rect; |
635 HWND clickdefault; | 635 HWND clickdefault; |
636 HBRUSH hbrush; | 636 HBRUSH hbrush; |
637 HFONT hfont; | 637 HFONT hfont; |
638 HMENU hmenu; | |
638 char fontname[128]; | 639 char fontname[128]; |
639 WNDPROC pOldProc; | 640 WNDPROC pOldProc; |
640 UserData *root; | 641 UserData *root; |
641 } ColorInfo; | 642 } ColorInfo; |
642 | 643 |